Class AztecPyramid


public class AztecPyramid extends Object
Describes the locator pattern for an AztecCode
  • Field Details

    • layers

      public final DogArray<AztecPyramid.Layer> layers
      layers or rings in the pyramid. outermost is first. Corners are aligned so that they match up.
  • Constructor Details

    • AztecPyramid

      public AztecPyramid()
  • Method Details

    • resize

      public void resize(int numLayers)
    • get

      public AztecPyramid.Layer get(int index)
      Returns a layer in the pyramid
    • alignCorners

      public void alignCorners()
      Rotates the inner ring so that its corners indexes match up with the corners in the outer ring.
    • getGridWidth

      public int getGridWidth()
    • setTo

      public void setTo(AztecPyramid src)
    • reset

      public void reset()
    • isIdentical

      public boolean isIdentical(AztecPyramid b)