public class DataMatrixSymbolInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
dataCapacity |
int |
dataRegions |
int |
errorCodewords |
int |
matrixHeight |
int |
matrixWidth |
static DataMatrixSymbolInfo[] |
PROD_SYMBOLS |
boolean |
rectangular |
int |
rsBlockData |
int |
rsBlockError |
| Constructor and Description |
|---|
DataMatrixSymbolInfo(boolean rectangular,
int dataCapacity,
int errorCodewords,
int matrixWidth,
int matrixHeight,
int dataRegions) |
DataMatrixSymbolInfo(boolean rectangular,
int dataCapacity,
int errorCodewords,
int matrixWidth,
int matrixHeight,
int dataRegions,
int rsBlockData,
int rsBlockError) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCodewordCount() |
int |
getDataLengthForInterleavedBlock(int index) |
int |
getErrorLengthForInterleavedBlock(int index) |
int |
getHorzDataRegions() |
int |
getInterleavedBlockCount() |
int |
getSymbolDataHeight() |
int |
getSymbolDataWidth() |
int |
getSymbolHeight() |
int |
getSymbolWidth() |
int |
getVertDataRegions() |
static DataMatrixSymbolInfo |
lookup(int dataCodewords) |
static DataMatrixSymbolInfo |
lookup(int dataCodewords,
boolean allowRectangular,
boolean fail) |
static DataMatrixSymbolInfo |
lookup(int dataCodewords,
SymbolShapeHint shape) |
static DataMatrixSymbolInfo |
lookup(int dataCodewords,
SymbolShapeHint shape,
boolean fail) |
static DataMatrixSymbolInfo |
lookup(int dataCodewords,
SymbolShapeHint shape,
Dimension minSize,
Dimension maxSize,
boolean fail) |
static void |
overrideSymbolSet(DataMatrixSymbolInfo[] override)
Overrides the symbol info set used by this class.
|
String |
toString() |
public static final DataMatrixSymbolInfo[] PROD_SYMBOLS
public boolean rectangular
public int dataCapacity
public int errorCodewords
public int matrixWidth
public int matrixHeight
public int dataRegions
public int rsBlockData
public int rsBlockError
public DataMatrixSymbolInfo(boolean rectangular,
int dataCapacity,
int errorCodewords,
int matrixWidth,
int matrixHeight,
int dataRegions)
public DataMatrixSymbolInfo(boolean rectangular,
int dataCapacity,
int errorCodewords,
int matrixWidth,
int matrixHeight,
int dataRegions,
int rsBlockData,
int rsBlockError)
public static void overrideSymbolSet(DataMatrixSymbolInfo[] override)
override - the symbol info set to usepublic static DataMatrixSymbolInfo lookup(int dataCodewords)
public static DataMatrixSymbolInfo lookup(int dataCodewords, SymbolShapeHint shape)
public static DataMatrixSymbolInfo lookup(int dataCodewords, boolean allowRectangular, boolean fail)
public static DataMatrixSymbolInfo lookup(int dataCodewords, SymbolShapeHint shape, boolean fail)
public static DataMatrixSymbolInfo lookup(int dataCodewords, SymbolShapeHint shape, Dimension minSize, Dimension maxSize, boolean fail)
public int getHorzDataRegions()
public int getVertDataRegions()
public int getSymbolDataWidth()
public int getSymbolDataHeight()
public int getSymbolWidth()
public int getSymbolHeight()
public int getCodewordCount()
public int getInterleavedBlockCount()
public int getDataLengthForInterleavedBlock(int index)
public int getErrorLengthForInterleavedBlock(int index)
public String toString()
toString in class ObjectObject.toString()Copyright © 2003–2023. All rights reserved.