public final class QRCode extends Object
Modifier and Type | Field and Description |
---|---|
static int |
NUM_MASK_PATTERNS |
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) |
String |
toString() |
public static final int NUM_MASK_PATTERNS
public Mode getMode()
EncodeHintType.QR_COMPACT
is selected.public ErrorCorrectionLevel getECLevel()
public Version getVersion()
public int getMaskPattern()
public ByteMatrix getMatrix()
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)
Copyright © 2007–2024. All rights reserved.