## Uses of Class
com.google.zxing.common.BitMatrix

- Packages that use BitMatrix
  Package | Description
  --- | ---
  com.google.zxing | Subset of ZXing (Zebra Crossing) library containing QR code generation functionality for I2P destinations.
  com.google.zxing.client.j2se | Java SE client-side implementation for ZXing barcode library.
  com.google.zxing.common | Common utilities and classes for ZXing barcode and QR code processing.
  com.google.zxing.qrcode | QR code detection, decoding, and encoding for ZXing.
  com.google.zxing.qrcode.decoder | QR code decoding implementation for ZXing.

- - ### Uses of BitMatrix in com.google.zxing

    Methods in com.google.zxing that return BitMatrix
    Modifier and Type | Method and Description
    --- | ---
    `BitMatrix` | Writer.`encode(String contents, BarcodeFormat format, int width, int height)` Encode a barcode using the default settings.
    `BitMatrix` | Writer.`encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType,?> hints)`

  - ### Uses of BitMatrix in com.google.zxing.client.j2se

    Methods in com.google.zxing.client.j2se with parameters of type BitMatrix
    Modifier and Type | Method and Description
    --- | ---
    `static BufferedImage` | MatrixToImageWriter.`toBufferedImage(BitMatrix matrix)` Renders a `BitMatrix` as an image, where "false" bits are rendered as white, and "true" bits are rendered as black.
    `static BufferedImage` | MatrixToImageWriter.`toBufferedImage(BitMatrix matrix, MatrixToImageConfig config)` As `MatrixToImageWriter.toBufferedImage(BitMatrix)`, but allows customization of the output.
    `static void` | MatrixToImageWriter.`writeToFile(BitMatrix matrix, String format, File file)` Deprecated. use `MatrixToImageWriter.writeToPath(BitMatrix, String, Path)`
    `static void` | MatrixToImageWriter.`writeToFile(BitMatrix matrix, String format, File file, MatrixToImageConfig config)` Deprecated. use `MatrixToImageWriter.writeToPath(BitMatrix, String, Path, MatrixToImageConfig)`
    `static void` | MatrixToImageWriter.`writeToPath(BitMatrix matrix, String format, Path file)` Writes a `BitMatrix` to a file with default configuration.
    `static void` | MatrixToImageWriter.`writeToPath(BitMatrix matrix, String format, Path file, MatrixToImageConfig config)` As `MatrixToImageWriter.writeToFile(BitMatrix, String, File)`, but allows customization of the output.
    `static void` | MatrixToImageWriter.`writeToStream(BitMatrix matrix, String format, OutputStream stream)` Writes a `BitMatrix` to a stream with default configuration.
    `static void` | MatrixToImageWriter.`writeToStream(BitMatrix matrix, String format, OutputStream stream, MatrixToImageConfig config)` As `MatrixToImageWriter.writeToStream(BitMatrix, String, OutputStream)`, but allows customization of the output.

  - ### Uses of BitMatrix in com.google.zxing.common

    Methods in com.google.zxing.common that return BitMatrix
    Modifier and Type | Method and Description
    --- | ---
    `BitMatrix` | BitMatrix.`clone()`
    `static BitMatrix` | BitMatrix.`parse(boolean[][] image)` Interprets a 2D array of booleans as a `BitMatrix`, where "true" means an "on" bit.
    `static BitMatrix` | BitMatrix.`parse(String stringRepresentation, String setString, String unsetString)`

    Methods in com.google.zxing.common with parameters of type BitMatrix
    Modifier and Type | Method and Description
    --- | ---
    `void` | BitMatrix.`xor(BitMatrix mask)` Exclusive-or (XOR): Flip the bit in this `BitMatrix` if the corresponding mask bit is set.

  - ### Uses of BitMatrix in com.google.zxing.qrcode

    Methods in com.google.zxing.qrcode that return BitMatrix
    Modifier and Type | Method and Description
    --- | ---
    `BitMatrix` | QRCodeWriter.`encode(String contents, BarcodeFormat format, int width, int height)`
    `BitMatrix` | QRCodeWriter.`encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType,?> hints)`

  - ### Uses of BitMatrix in com.google.zxing.qrcode.decoder

    Methods in com.google.zxing.qrcode.decoder that return BitMatrix
    Modifier and Type | Method and Description
    --- | ---
    `(package private) BitMatrix` | Version.`buildFunctionPattern()` See ISO 18004:2006 Annex E