QrCodeVersion

Members

Functions

buildFunctionPattern
BitMatrix buildFunctionPattern()

Builds the function pattern for the current version.

getEcBlocksForLevel
EcBlocks getEcBlocksForLevel(ErrorCorrectionLevel ecLevel)

Gets the number of EC blocks for a specific EC level.

toString
string toString()

Returns a string representation for the version.

Properties

AlignmentPatternCenters
int[] AlignmentPatternCenters [@property getter]

Gets the alignment pattern centers.

DimensionForVersion
int DimensionForVersion [@property getter]

Gets the dimension for the current version.

TotalCodewords
int TotalCodewords [@property getter]

Gets the total number of codewords.

VersionNumber
int VersionNumber [@property getter]

gets the version number.

Static functions

buildVersion
QrCodeVersion buildVersion(int versionNumber)

Build and cache a specific version.

decodeVersionInformation
QrCodeVersion decodeVersionInformation(int versionBits)

Decodes version information from an integer and returns the version.

getProvisionalVersionForDimension
QrCodeVersion getProvisionalVersionForDimension(int dimension)

Gets a provisional version number for a specific dimension.

getVersionForNumber
QrCodeVersion getVersionForNumber(int versionNumber)

Gets a version instance for a specific version number.

Variables

versionDecodeInfo
enum int[] versionDecodeInfo;

int[]

Meta