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 intNUM_MASK_PATTERNS
-
Constructor Summary
Constructors Constructor Description QRCode()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorCorrectionLevelgetECLevel()intgetMaskPattern()ByteMatrixgetMatrix()ModegetMode()VersiongetVersion()static booleanisValidMaskPattern(int maskPattern)voidsetECLevel(ErrorCorrectionLevel value)voidsetMaskPattern(int value)voidsetMatrix(ByteMatrix value)voidsetMode(Mode value)voidsetVersion(Version version)StringtoString()
-
-
-
Field Detail
-
NUM_MASK_PATTERNS
public static final int NUM_MASK_PATTERNS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMode
public Mode getMode()
-
getECLevel
public ErrorCorrectionLevel getECLevel()
-
getVersion
public Version getVersion()
-
getMaskPattern
public int getMaskPattern()
-
getMatrix
public ByteMatrix getMatrix()
-
setMode
public void setMode(Mode value)
-
setECLevel
public void setECLevel(ErrorCorrectionLevel value)
-
setVersion
public void setVersion(Version version)
-
setMaskPattern
public void setMaskPattern(int value)
-
setMatrix
public void setMatrix(ByteMatrix value)
-
isValidMaskPattern
public static boolean isValidMaskPattern(int maskPattern)
-
-