Class AztecCode


  • public final class AztecCode
    extends java.lang.Object
    Aztec 2D code representation
    • Field Detail

      • compact

        private boolean compact
      • size

        private int size
      • layers

        private int layers
      • codeWords

        private int codeWords
    • Constructor Detail

      • AztecCode

        public AztecCode()
    • Method Detail

      • isCompact

        public boolean isCompact()
        Returns:
        true if compact instead of full mode
      • setCompact

        public void setCompact​(boolean compact)
      • getSize

        public int getSize()
        Returns:
        size in pixels (width and height)
      • setSize

        public void setSize​(int size)
      • getLayers

        public int getLayers()
        Returns:
        number of levels
      • setLayers

        public void setLayers​(int layers)
      • getCodeWords

        public int getCodeWords()
        Returns:
        number of data codewords
      • setCodeWords

        public void setCodeWords​(int codeWords)
      • getMatrix

        public BitMatrix getMatrix()
        Returns:
        the symbol image
      • setMatrix

        public void setMatrix​(BitMatrix matrix)