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