classes-Com-Tecnick-Barcode-Type-Square-QrCode-SpecRs

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

SpecRs

in package

AbstractYes

Com\Tecnick\Barcode\Type\Square\QrCode\SpecRs

Tags
since
2015-02-21
category

Library

author

Nicola Asuni info@tecnick.com

copyright

2010-2024 Nicola Asuni - Tecnick.com LTD

license

http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)

link
https://github.com/tecnickcom/tc-lib-barcode
SuppressWarnings

(PHPMD.TooManyPublicMethods)

Table of Contents

Methods

createFrame()  : array<int, string>
Return a copy of initialized frame.
getVersionPattern()  : int
Return BCH encoded version information pattern that is used for the symbol of version 7 or greater.
putAlignmentMarker()  : array<int, string>
Put an alignment marker.
putAlignmentPattern()  : array<int, string>
Put an alignment pattern.
putFinderPattern()  : array<int, string>
Put a finder pattern.
qrstrset()  : array<int, string>
Replace a value on the array at the specified position
rsBlockNum()  : int
Return block number 0
rsBlockNum1()  : int
Return block number 1
rsBlockNum2()  : int
Return block number 2
rsDataCodes1()  : int
Return data codes 1
rsDataCodes2()  : int
Return data codes 2
rsDataLength()  : int
Return data length
rsEccCodes1()  : int
Return ecc codes 1
rsEccCodes2()  : int
Return ecc codes 2
rsEccLength()  : int
Return ecc length

Methods

createFrame()

Return a copy of initialized frame.

public createFrame(int $version) : array<int, string>
Parameters
$version : int

Version

Return values
array<int, string>

of unsigned char.

getVersionPattern()

Return BCH encoded version information pattern that is used for the symbol of version 7 or greater.

public getVersionPattern(int $version) : int

Use lower 18 bits.

Parameters
$version : int

Version

Return values
int

putAlignmentMarker()

Put an alignment marker.

public putAlignmentMarker(array<int, string> $frame, int $pox, int $poy) : array<int, string>
Parameters
$frame : array<int, string>

Frame

$pox : int

X center coordinate of the pattern

$poy : int

Y center coordinate of the pattern

Return values
array<int, string>

frame

putAlignmentPattern()

Put an alignment pattern.

public putAlignmentPattern(int $version, array<int, string> $frame, int $width) : array<int, string>
Parameters
$version : int

Version

$frame : array<int, string>

Frame

$width : int

Width

Return values
array<int, string>

frame

putFinderPattern()

Put a finder pattern.

public putFinderPattern(array<int, string> $frame, int $pox, int $poy) : array<int, string>
Parameters
$frame : array<int, string>

Frame

$pox : int

X center coordinate of the pattern

$poy : int

Y center coordinate of the pattern

Return values
array<int, string>

frame

qrstrset()

Replace a value on the array at the specified position

public qrstrset(array<int, string> $srctab, int $xpos, int $ypos, string $repl[, int $replLen = null ]) : array<int, string>
Parameters
$srctab : array<int, string>

Source table

$xpos : int

X position

$ypos : int

Y position

$repl : string

Value to replace

$replLen : int = null

Length of the repl string

Return values
array<int, string>

srctab

rsBlockNum()

Return block number 0

public rsBlockNum(array<int, int> $spec) : int
Parameters
$spec : array<int, int>

Spec

Return values
int

value

rsBlockNum1()

Return block number 1

public rsBlockNum1(array<int, int> $spec) : int
Parameters
$spec : array<int, int>

Spec

Return values
int

value

rsBlockNum2()

Return block number 2

public rsBlockNum2(array<int, int> $spec) : int
Parameters
$spec : array<int, int>

Spec

Return values
int

value

rsDataCodes1()

Return data codes 1

public rsDataCodes1(array<int, int> $spec) : int
Parameters
$spec : array<int, int>

Spec

Return values
int

value

rsDataCodes2()

Return data codes 2

public rsDataCodes2(array<int, int> $spec) : int
Parameters
$spec : array<int, int>

Spec

Return values
int

value

rsDataLength()

Return data length

public rsDataLength(array<int, int> $spec) : int
Parameters
$spec : array<int, int>

Spec

Return values
int

value

rsEccCodes1()

Return ecc codes 1

public rsEccCodes1(array<int, int> $spec) : int
Parameters
$spec : array<int, int>

Spec

Return values
int

value

rsEccCodes2()

Return ecc codes 2

public rsEccCodes2(array<int, int> $spec) : int
Parameters
$spec : array<int, int>

Spec

Return values
int

value

rsEccLength()

Return ecc length

public rsEccLength(array<int, int> $spec) : int
Parameters
$spec : array<int, int>

Spec

Return values
int

value

On this page
 

© 2004-2024 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy