QrCodeVersion

Undocumented in source.

Constructors

this
this(int vn, int[] aps, EcBlocks[] ecbs)
Undocumented in source.

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.

Static variables

versions
QrCodeVersion[string] versions;
Undocumented in source.

Variables

alignmentPatternCenters
int[] alignmentPatternCenters;
Undocumented in source.
errorCorrectionBlocks
EcBlocks[] errorCorrectionBlocks;
totalCodewords
int totalCodewords;
Undocumented in source.
versionDecodeInfo
enum int[] versionDecodeInfo;

int[]

versionNumber
int versionNumber;
Undocumented in source.

Meta