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

- Packages that use BitMatrix
  Package | Description
  --- | ---
  com.google.zxing |
  com.google.zxing.aztec |
  com.google.zxing.aztec.detector |
  com.google.zxing.aztec.encoder |
  com.google.zxing.client.j2se |
  com.google.zxing.common |
  com.google.zxing.common.detector |
  com.google.zxing.datamatrix |
  com.google.zxing.datamatrix.decoder |
  com.google.zxing.datamatrix.detector |
  com.google.zxing.maxicode.decoder |
  com.google.zxing.multi.qrcode.detector |
  com.google.zxing.oned |
  com.google.zxing.pdf417 |
  com.google.zxing.pdf417.decoder |
  com.google.zxing.pdf417.detector |
  com.google.zxing.qrcode |
  com.google.zxing.qrcode.decoder |
  com.google.zxing.qrcode.detector |

- - ### 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` | MultiFormatWriter.`encode(String contents, BarcodeFormat format, int width, int height)`
    `BitMatrix` | Writer.`encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType,?> hints)`
    `BitMatrix` | MultiFormatWriter.`encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType,?> hints)`
    `BitMatrix` | BinaryBitmap.`getBlackMatrix()` Converts a 2D array of luminance data to 1 bit.
    `abstract BitMatrix` | Binarizer.`getBlackMatrix()` Converts a 2D array of luminance data to 1 bit data.

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

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

    Constructors in com.google.zxing.aztec with parameters of type BitMatrix
    Constructor and Description
    `AztecDetectorResult(BitMatrix bits, ResultPoint[] points, boolean compact, int nbDatablocks, int nbLayers)`

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

    Constructors in com.google.zxing.aztec.detector with parameters of type BitMatrix
    Constructor and Description
    `Detector(BitMatrix image)`

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

    Methods in com.google.zxing.aztec.encoder that return BitMatrix
    Modifier and Type | Method and Description
    --- | ---
    `BitMatrix` | AztecCode.`getMatrix()`

    Methods in com.google.zxing.aztec.encoder with parameters of type BitMatrix
    Modifier and Type | Method and Description
    --- | ---
    `void` | AztecCode.`setMatrix(BitMatrix matrix)`

  - ### 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.writeToPath(BitMatrix, String, Path)`, 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()`
    `BitMatrix` | DetectorResult.`getBits()`
    `BitMatrix` | HybridBinarizer.`getBlackMatrix()` Calculates the final BitMatrix once for all requests.
    `BitMatrix` | GlobalHistogramBinarizer.`getBlackMatrix()`
    `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)`
    `abstract BitMatrix` | GridSampler.`sampleGrid(BitMatrix image, int dimensionX, int dimensionY, float p1ToX, float p1ToY, float p2ToX, float p2ToY, float p3ToX, float p3ToY, float p4ToX, float p4ToY, float p1FromX, float p1FromY, float p2FromX, float p2FromY, float p3FromX, float p3FromY, float p4FromX, float p4FromY)` Samples an image for a rectangular matrix of bits of the given dimension.
    `BitMatrix` | DefaultGridSampler.`sampleGrid(BitMatrix image, int dimensionX, int dimensionY, float p1ToX, float p1ToY, float p2ToX, float p2ToY, float p3ToX, float p3ToY, float p4ToX, float p4ToY, float p1FromX, float p1FromY, float p2FromX, float p2FromY, float p3FromX, float p3FromY, float p4FromX, float p4FromY)`
    `abstract BitMatrix` | GridSampler.`sampleGrid(BitMatrix image, int dimensionX, int dimensionY, PerspectiveTransform transform)`
    `BitMatrix` | DefaultGridSampler.`sampleGrid(BitMatrix image, int dimensionX, int dimensionY, PerspectiveTransform transform)`

    Methods in com.google.zxing.common with parameters of type BitMatrix
    Modifier and Type | Method and Description
    --- | ---
    `protected static void` | GridSampler.`checkAndNudgePoints(BitMatrix image, float[] points)` Checks a set of points that have been transformed to sample points on an image against the image's dimensions to see if the point are even within the image.
    `abstract BitMatrix` | GridSampler.`sampleGrid(BitMatrix image, int dimensionX, int dimensionY, float p1ToX, float p1ToY, float p2ToX, float p2ToY, float p3ToX, float p3ToY, float p4ToX, float p4ToY, float p1FromX, float p1FromY, float p2FromX, float p2FromY, float p3FromX, float p3FromY, float p4FromX, float p4FromY)` Samples an image for a rectangular matrix of bits of the given dimension.
    `BitMatrix` | DefaultGridSampler.`sampleGrid(BitMatrix image, int dimensionX, int dimensionY, float p1ToX, float p1ToY, float p2ToX, float p2ToY, float p3ToX, float p3ToY, float p4ToX, float p4ToY, float p1FromX, float p1FromY, float p2FromX, float p2FromY, float p3FromX, float p3FromY, float p4FromX, float p4FromY)`
    `abstract BitMatrix` | GridSampler.`sampleGrid(BitMatrix image, int dimensionX, int dimensionY, PerspectiveTransform transform)`
    `BitMatrix` | DefaultGridSampler.`sampleGrid(BitMatrix image, int dimensionX, int dimensionY, PerspectiveTransform transform)`
    `void` | BitMatrix.`xor(BitMatrix mask)` Exclusive-or (XOR): Flip the bit in this `BitMatrix` if the corresponding mask bit is set.

    Constructors in com.google.zxing.common with parameters of type BitMatrix
    Constructor and Description
    `DetectorResult(BitMatrix bits, ResultPoint[] points)`

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

    Constructors in com.google.zxing.common.detector with parameters of type BitMatrix
    Constructor and Description
    `MonochromeRectangleDetector(BitMatrix image)` Deprecated.
    `WhiteRectangleDetector(BitMatrix image)`
    `WhiteRectangleDetector(BitMatrix image, int initSize, int x, int y)`

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

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

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

    Methods in com.google.zxing.datamatrix.decoder with parameters of type BitMatrix
    Modifier and Type | Method and Description
    --- | ---
    `DecoderResult` | Decoder.`decode(BitMatrix bits)` Decodes a Data Matrix Code represented as a `BitMatrix`.

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

    Constructors in com.google.zxing.datamatrix.detector with parameters of type BitMatrix
    Constructor and Description
    `Detector(BitMatrix image)`

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

    Methods in com.google.zxing.maxicode.decoder with parameters of type BitMatrix
    Modifier and Type | Method and Description
    --- | ---
    `DecoderResult` | Decoder.`decode(BitMatrix bits)`
    `DecoderResult` | Decoder.`decode(BitMatrix bits, Map<DecodeHintType,?> hints)`

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

    Constructors in com.google.zxing.multi.qrcode.detector with parameters of type BitMatrix
    Constructor and Description
    `MultiDetector(BitMatrix image)`

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

    Methods in com.google.zxing.oned that return BitMatrix
    Modifier and Type | Method and Description
    --- | ---
    `BitMatrix` | OneDimensionalCodeWriter.`encode(String contents, BarcodeFormat format, int width, int height)`
    `BitMatrix` | UPCAWriter.`encode(String contents, BarcodeFormat format, int width, int height)`
    `BitMatrix` | Code39Writer.`encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType,?> hints)`
    `BitMatrix` | Code93Writer.`encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType,?> hints)`
    `BitMatrix` | OneDimensionalCodeWriter.`encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType,?> hints)` Encode the contents following specified format.
    `BitMatrix` | UPCEWriter.`encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType,?> hints)`
    `BitMatrix` | EAN13Writer.`encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType,?> hints)`
    `BitMatrix` | UPCAWriter.`encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType,?> hints)`
    `BitMatrix` | EAN8Writer.`encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType,?> hints)`
    `BitMatrix` | Code128Writer.`encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType,?> hints)`
    `BitMatrix` | ITFWriter.`encode(String contents, BarcodeFormat format, int width, int height, Map<EncodeHintType,?> hints)`

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

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

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

    Methods in com.google.zxing.pdf417.decoder with parameters of type BitMatrix
    Modifier and Type | Method and Description
    --- | ---
    `static DecoderResult` | PDF417ScanningDecoder.`decode(BitMatrix image, ResultPoint imageTopLeft, ResultPoint imageBottomLeft, ResultPoint imageTopRight, ResultPoint imageBottomRight, int minCodewordWidth, int maxCodewordWidth)`

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

    Methods in com.google.zxing.pdf417.detector that return BitMatrix
    Modifier and Type | Method and Description
    --- | ---
    `BitMatrix` | PDF417DetectorResult.`getBits()`

    Constructors in com.google.zxing.pdf417.detector with parameters of type BitMatrix
    Constructor and Description
    `PDF417DetectorResult(BitMatrix bits, List<ResultPoint[]> points)`

  - ### 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 with parameters of type BitMatrix
    Modifier and Type | Method and Description
    --- | ---
    `DecoderResult` | Decoder.`decode(BitMatrix bits)`
    `DecoderResult` | Decoder.`decode(BitMatrix bits, Map<DecodeHintType,?> hints)` Decodes a QR Code represented as a `BitMatrix`.

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

    Methods in com.google.zxing.qrcode.detector that return BitMatrix
    Modifier and Type | Method and Description
    --- | ---
    `protected BitMatrix` | FinderPatternFinder.`getImage()`
    `protected BitMatrix` | Detector.`getImage()`

    Constructors in com.google.zxing.qrcode.detector with parameters of type BitMatrix
    Constructor and Description
    `Detector(BitMatrix image)`
    `FinderPatternFinder(BitMatrix image)` Creates a finder that will search the image for three finder patterns.
    `FinderPatternFinder(BitMatrix image, ResultPointCallback resultPointCallback)`

Copyright © 2007–2018. All rights reserved.