Class Version
java.lang.Object
com.itextpdf.text.pdf.qrcode.Version
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEncapsualtes the parameters for one error-correction block in one symbol version.static final classEncapsulates a set of error-correction blocks in one symbol version. -
Method Summary
Modifier and TypeMethodDescriptionint[]intgetECBlocksForLevel(ErrorCorrectionLevel ecLevel) static VersiongetProvisionalVersionForDimension(int dimension) Deduces version information purely from QR Code dimensions.intstatic VersiongetVersionForNumber(int versionNumber) inttoString()
-
Method Details
-
getVersionNumber
public int getVersionNumber() -
getAlignmentPatternCenters
public int[] getAlignmentPatternCenters() -
getTotalCodewords
public int getTotalCodewords() -
getDimensionForVersion
public int getDimensionForVersion() -
getECBlocksForLevel
-
getProvisionalVersionForDimension
-
getVersionForNumber
-
toString
-