Class SymbolInfo
java.lang.Object
com.google.zxing.datamatrix.encoder.SymbolInfo
Symbol info table for DataMatrix.
- Version:
- $Id$
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionSymbolInfo(boolean rectangular, int dataCapacity, int errorCodewords, int matrixWidth, int matrixHeight, int dataRegions) 
- 
Method SummaryModifier and TypeMethodDescriptionintfinal intintgetDataLengthForInterleavedBlock(int index) final intfinal intgetErrorLengthForInterleavedBlock(int index) intfinal intfinal intfinal intfinal intstatic SymbolInfolookup(int dataCodewords) static SymbolInfolookup(int dataCodewords, boolean allowRectangular, boolean fail) static SymbolInfolookup(int dataCodewords, SymbolShapeHint shape) static SymbolInfolookup(int dataCodewords, SymbolShapeHint shape, Dimension minSize, Dimension maxSize, boolean fail) static voidoverrideSymbolSet(SymbolInfo[] override) Overrides the symbol info set used by this class.final StringtoString()
- 
Field Details- 
matrixWidthpublic final int matrixWidth
- 
matrixHeightpublic final int matrixHeight
 
- 
- 
Constructor Details- 
SymbolInfopublic SymbolInfo(boolean rectangular, int dataCapacity, int errorCodewords, int matrixWidth, int matrixHeight, int dataRegions) 
 
- 
- 
Method Details- 
overrideSymbolSetOverrides the symbol info set used by this class. Used for testing purposes.- Parameters:
- override- the symbol info set to use
 
- 
lookup
- 
lookup
- 
lookup
- 
lookuppublic static SymbolInfo lookup(int dataCodewords, SymbolShapeHint shape, Dimension minSize, Dimension maxSize, boolean fail) 
- 
getSymbolDataWidthpublic final int getSymbolDataWidth()
- 
getSymbolDataHeightpublic final int getSymbolDataHeight()
- 
getSymbolWidthpublic final int getSymbolWidth()
- 
getSymbolHeightpublic final int getSymbolHeight()
- 
getCodewordCountpublic int getCodewordCount()
- 
getInterleavedBlockCountpublic int getInterleavedBlockCount()
- 
getDataCapacitypublic final int getDataCapacity()
- 
getErrorCodewordspublic final int getErrorCodewords()
- 
getDataLengthForInterleavedBlockpublic int getDataLengthForInterleavedBlock(int index) 
- 
getErrorLengthForInterleavedBlockpublic final int getErrorLengthForInterleavedBlock(int index) 
- 
toString
 
-