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 |
---|---|
int |
at(int x, int y) |
ErrorCorrectionLevel |
getECLevel() |
int |
getMaskPattern() |
ByteMatrix |
getMatrix() |
int |
getMatrixWidth() |
Mode |
getMode() |
int |
getNumDataBytes() |
int |
getNumECBytes() |
int |
getNumRSBlocks() |
int |
getNumTotalBytes() |
int |
getVersion() |
boolean |
isValid() |
static boolean |
isValidMaskPattern(int maskPattern) |
void |
setECLevel(ErrorCorrectionLevel value) |
void |
setMaskPattern(int value) |
void |
setMatrix(ByteMatrix value) |
void |
setMatrixWidth(int value) |
void |
setMode(Mode value) |
void |
setNumDataBytes(int value) |
void |
setNumECBytes(int value) |
void |
setNumRSBlocks(int value) |
void |
setNumTotalBytes(int value) |
void |
setVersion(int value) |
String |
toString() |
public static final int NUM_MASK_PATTERNS
public Mode getMode()
public ErrorCorrectionLevel getECLevel()
public int getVersion()
public int getMatrixWidth()
public int getMaskPattern()
public int getNumTotalBytes()
public int getNumDataBytes()
public int getNumECBytes()
public int getNumRSBlocks()
public ByteMatrix getMatrix()
public int at(int x, int y)
public boolean isValid()
public void setMode(Mode value)
public void setECLevel(ErrorCorrectionLevel value)
public void setVersion(int value)
public void setMatrixWidth(int value)
public void setMaskPattern(int value)
public void setNumTotalBytes(int value)
public void setNumDataBytes(int value)
public void setNumECBytes(int value)
public void setNumRSBlocks(int value)
public void setMatrix(ByteMatrix value)
public static boolean isValidMaskPattern(int maskPattern)
Copyright © 1998–2022. All rights reserved.