public final class AztecCode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
codeWords |
private boolean |
compact |
private int |
layers |
private BitMatrix |
matrix |
private int |
size |
Constructor and Description |
---|
AztecCode() |
Modifier and Type | Method and 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) |
private boolean compact
private int size
private int layers
private int codeWords
private BitMatrix matrix
public boolean isCompact()
true
if compact instead of full modepublic void setCompact(boolean compact)
public int getSize()
public void setSize(int size)
public int getLayers()
public void setLayers(int layers)
public int getCodeWords()
public void setCodeWords(int codeWords)
public BitMatrix getMatrix()
public void setMatrix(BitMatrix matrix)