AztecCode (ZXing 3.5.2 API)
Description: declaration: package: com.google.zxing.aztec.encoder, class: AztecCode

Package com.google.zxing.aztec.encoder

# Class AztecCode

java.lang.Object
com.google.zxing.aztec.encoder.AztecCode

public final class AztecCode extends Object
Aztec 2D code representation

Author:
  Rustam Abdullaev

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AztecCode()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getCodeWords()`
  `int`
  `getLayers()`
  `BitMatrix`
  `getMatrix()`
  `int`
  `getSize()`
  `boolean`
  `isCompact()`
  `void`
  `setCodeWords(int codeWords)`
  `void`
  `setCompact(boolean compact)`
  `void`
  `setLayers(int layers)`
  `void`
  `setMatrix(BitMatrix matrix)`
  `void`
  `setSize(int size)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AztecCode

    public AztecCode()

- ## Method Details

  - ### 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)