public final class BarcodeMatrix
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
currentRow |
private int |
height |
private BarcodeRow[] |
matrix |
private int |
width |
Constructor and Description |
---|
BarcodeMatrix(int height,
int width) |
Modifier and Type | Method and Description |
---|---|
(package private) BarcodeRow |
getCurrentRow() |
byte[][] |
getMatrix() |
byte[][] |
getScaledMatrix(int xScale,
int yScale) |
(package private) void |
set(int x,
int y,
byte value) |
(package private) void |
startRow() |
private final BarcodeRow[] matrix
private int currentRow
private final int height
private final int width
BarcodeMatrix(int height, int width)
height
- the height of the matrix (Rows)width
- the width of the matrix (Cols)void set(int x, int y, byte value)
void startRow()
BarcodeRow getCurrentRow()
public byte[][] getMatrix()
public byte[][] getScaledMatrix(int xScale, int yScale)