public class SymbolInfo
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
int |
matrixHeight |
int |
matrixWidth |
构造器和说明 |
---|
SymbolInfo(boolean rectangular,
int dataCapacity,
int errorCodewords,
int matrixWidth,
int matrixHeight,
int dataRegions) |
限定符和类型 | 方法和说明 |
---|---|
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.
|
java.lang.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)
public final java.lang.String toString()
toString
在类中 java.lang.Object