com.google.zxing.qrcode.encoder

## Class QRCode

- java.lang.Object
- - com.google.zxing.qrcode.encoder.QRCode

-     public final class QRCode
      extends Object

  QR Code representation for encoding.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `NUM_MASK_PATTERNS`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `QRCode()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    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()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### NUM_MASK_PATTERNS

          public static final int NUM_MASK_PATTERNS

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### QRCode

          public QRCode()

  - ### Method Detail

    - #### getECLevel

          public ErrorCorrectionLevel getECLevel()

    - #### getMaskPattern

          public int getMaskPattern()

    - #### getMatrix

          public ByteMatrix getMatrix()

    - #### getMode

          public Mode getMode()

    - #### getVersion

          public Version getVersion()

    - #### isValidMaskPattern

          public static boolean isValidMaskPattern(int maskPattern)

    - #### setECLevel

          public void setECLevel(ErrorCorrectionLevel value)

    - #### setMaskPattern

          public void setMaskPattern(int value)

    - #### setMatrix

          public void setMatrix(ByteMatrix value)

    - #### setMode

          public void setMode(Mode value)

    - #### setVersion

          public void setVersion(Version version)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`