Properties

$VERSION_DECODE_INFO

$VERSION_DECODE_INFO : 

See ISO 18004:2006 Annex D.

Element i represents the raw version bits that specify version i + 7

Type

$VERSIONS

$VERSIONS : 

Type

$versionNumber

$versionNumber : 

Type

$alignmentPatternCenters

$alignmentPatternCenters : 

Type

$ecBlocks

$ecBlocks : 

Type

$totalCodewords

$totalCodewords : 

Type

Methods

__construct()

__construct(  $versionNumber,   $alignmentPatternCenters,   $ecBlocks) 

Parameters

$versionNumber
$alignmentPatternCenters
$ecBlocks

getVersionNumber()

getVersionNumber() 

getAlignmentPatternCenters()

getAlignmentPatternCenters() 

getTotalCodewords()

getTotalCodewords() 

getDimensionForVersion()

getDimensionForVersion() 

getECBlocksForLevel()

getECBlocksForLevel(  $ecLevel) 

Parameters

$ecLevel

getProvisionalVersionForDimension()

getProvisionalVersionForDimension(  $dimension) : \Zxing\Qrcode\Decoder\Version

<p>Deduces version information purely from QR Code dimensions.</p>

Parameters

$dimension

Throws

\Zxing\FormatException

if dimension is not 1 mod 4

Returns

\Zxing\Qrcode\Decoder\Version

for a QR Code of that dimension

getVersionForNumber()

getVersionForNumber(  $versionNumber) 

Parameters

$versionNumber

decodeVersionInformation()

decodeVersionInformation(  $versionBits) 

Parameters

$versionBits

buildFunctionPattern()

buildFunctionPattern() 

See ISO 18004:2006 Annex E

buildVersions()

buildVersions() 

See ISO 18004:2006 6.5.1 Table 9