Package com.google.zxing.pdf417.encoder
Class BarcodeMatrix
java.lang.Object
com.google.zxing.pdf417.encoder.BarcodeMatrix
Holds all of the information for a barcode in a format where it can be easily accessible
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private final int
private final BarcodeRow[]
private final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) BarcodeRow
byte[][]
byte[][]
getScaledMatrix
(int xScale, int yScale) (package private) void
set
(int x, int y, byte value) (package private) void
startRow()
-
Field Details
-
matrix
-
currentRow
private int currentRow -
height
private final int height -
width
private final int width
-
-
Constructor Details
-
BarcodeMatrix
BarcodeMatrix(int height, int width) - Parameters:
height
- the height of the matrix (Rows)width
- the width of the matrix (Cols)
-
-
Method Details
-
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)
-