Package com.google.zxing.pdf417.encoder
Class BarcodeMatrix
- java.lang.Object
-
- com.google.zxing.pdf417.encoder.BarcodeMatrix
-
public final class BarcodeMatrix extends java.lang.ObjectHolds all of the information for a barcode in a format where it can be easily accessible
-
-
Field Summary
Fields Modifier and Type Field Description private intcurrentRowprivate intheightprivate BarcodeRow[]matrixprivate intwidth
-
Constructor Summary
Constructors Constructor Description BarcodeMatrix(int height, int width)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) BarcodeRowgetCurrentRow()byte[][]getMatrix()byte[][]getScaledMatrix(int xScale, int yScale)(package private) voidset(int x, int y, byte value)(package private) voidstartRow()
-
-
-
Field Detail
-
matrix
private final BarcodeRow[] matrix
-
currentRow
private int currentRow
-
height
private final int height
-
width
private final int width
-
-
Method Detail
-
set
void set(int x, int y, byte value)
-
startRow
void startRow()
-
getCurrentRow
BarcodeRow getCurrentRow()
-
getMatrix
public byte[][] getMatrix()
-
getScaledMatrix
public byte[][] getScaledMatrix(int xScale, int yScale)
-
-