public final class QRCode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ErrorCorrectionLevel |
ecLevel |
private int |
maskPattern |
private ByteMatrix |
matrix |
private Mode |
mode |
static int |
NUM_MASK_PATTERNS |
private Version |
version |
Constructor and Description |
---|
QRCode() |
Modifier and Type | Method and Description |
---|---|
ErrorCorrectionLevel |
getECLevel() |
int |
getMaskPattern() |
ByteMatrix |
getMatrix() |
Mode |
getMode() |
Version |
getVersion() |
static boolean |
isValidMaskPattern(int maskPattern) |
void |
setECLevel(ErrorCorrectionLevel value) |
void |
setMaskPattern(int value) |
void |
setMatrix(ByteMatrix value) |
void |
setMode(Mode value) |
void |
setVersion(Version version) |
java.lang.String |
toString() |
public static final int NUM_MASK_PATTERNS
private Mode mode
private ErrorCorrectionLevel ecLevel
private Version version
private int maskPattern
private ByteMatrix matrix
public Mode getMode()
EncodeHintType.QR_COMPACT
is selected.public ErrorCorrectionLevel getECLevel()
public Version getVersion()
public int getMaskPattern()
public ByteMatrix getMatrix()
public java.lang.String toString()
toString
in class java.lang.Object
public void setMode(Mode value)
public void setECLevel(ErrorCorrectionLevel value)
public void setVersion(Version version)
public void setMaskPattern(int value)
public void setMatrix(ByteMatrix value)
public static boolean isValidMaskPattern(int maskPattern)