Properties

$capacity

$capacity : 

Type

$lengthTableBits

$lengthTableBits : 

Type

$eccTable

$eccTable : 

Type

$alignmentPattern

$alignmentPattern : 

Type

$versionPattern

$versionPattern : 

Type

$formatInfo

$formatInfo : 

Type

$frames

$frames : 

Type

Methods

getDataLength()

getDataLength( version,  level) 

Parameters

version
level

getECCLength()

getECCLength( version,  level) 

Parameters

version
level

getWidth()

getWidth( version) 

Parameters

version

getRemainder()

getRemainder( version) 

Parameters

version

getMinimumVersion()

getMinimumVersion( size,  level) 

Parameters

size
level

lengthIndicator()

lengthIndicator( mode,  version) 

Parameters

mode
version

maximumWords()

maximumWords( mode,  version) 

Parameters

mode
version

getEccSpec()

getEccSpec( version,  level,  spec) 

Parameters

version
level
spec

putAlignmentMarker()

putAlignmentMarker(  frame,   ox,   oy) 

-------------------------------------------------------------------- Put an alignment marker.

Parameters

frame
ox

center x coordinate of the pattern

oy

center y coordinate of the pattern

putAlignmentPattern()

putAlignmentPattern( version,  frame,  width) 

Parameters

version
frame
width

getVersionPattern()

getVersionPattern( version) 

Parameters

version

getFormatInfo()

getFormatInfo( mask,  level) 

Parameters

mask
level

putFinderPattern()

putFinderPattern(  frame,   ox,   oy) 

-------------------------------------------------------------------- Put a finder pattern.

Parameters

frame
ox

upper-left x coordinate of the pattern

oy

upper-left y coordinate of the pattern

createFrame()

createFrame( version) 

Parameters

version

debug()

debug( frame,  binary_mode = \false) 

Parameters

frame
binary_mode

serial()

serial( frame) 

Parameters

frame

unserial()

unserial( code) 

Parameters

code

newFrame()

newFrame( version) 

Parameters

version

rsBlockNum()

rsBlockNum( spec) 

Parameters

spec

rsBlockNum1()

rsBlockNum1( spec) 

Parameters

spec

rsDataCodes1()

rsDataCodes1( spec) 

Parameters

spec

rsEccCodes1()

rsEccCodes1( spec) 

Parameters

spec

rsBlockNum2()

rsBlockNum2( spec) 

Parameters

spec

rsDataCodes2()

rsDataCodes2( spec) 

Parameters

spec

rsEccCodes2()

rsEccCodes2( spec) 

Parameters

spec

rsDataLength()

rsDataLength( spec) 

Parameters

spec

rsEccLength()

rsEccLength( spec) 

Parameters

spec