Package com.google.zxing.qrcode.encoder
Class QRCode
java.lang.Object
com.google.zxing.qrcode.encoder.QRCode
public final class QRCode extends Object
- Author:
- satorux@google.com (Satoru Takabayashi) - creator, dswitkin@google.com (Daniel Switkin) - ported from C++
-
Field Summary
Fields Modifier and Type Field Description static int
NUM_MASK_PATTERNS
-
Constructor Summary
Constructors Constructor Description QRCode()
-
Method Summary
Modifier and Type Method 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()
-
Field Details
-
NUM_MASK_PATTERNS
public static final int NUM_MASK_PATTERNS- See Also:
- Constant Field Values
-
-
Constructor Details
-
QRCode
public QRCode()
-
-
Method Details
-
getMode
-
getECLevel
-
getVersion
-
getMaskPattern
public int getMaskPattern() -
getMatrix
-
toString
-
setMode
-
setECLevel
-
setVersion
-
setMaskPattern
public void setMaskPattern(int value) -
setMatrix
-
isValidMaskPattern
public static boolean isValidMaskPattern(int maskPattern)
-