Table of contents
Namespace: Com\Tecnick\Barcode\Type\Square\HanXin
File: Geometry.php line 38
Function pattern placement of the HanXin Barcode type class
The matrix cells hold 1 for a dark module, 0 for a light one, the string ‘I’ for a module of a function information area and null for a module of the encoding region.
Tags
- since: 2026-09-02
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2015-2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-barcode
Constants
INFO
File: Geometry.php line 45
public string INFO = 'I'
Methods
__construct()
File: Geometry.php line 72
public __construct(int $version) : mixed
Parameters
- $version : int: Symbol version, from 1 to 84.
getEncodingCells()
File: Geometry.php line 110
public getEncodingCells() : array<int, array{int, int}>
Return values
array<int, array{int, int}>
getInfoCells()
File: Geometry.php line 134
public getInfoCells() : array{list, list, list, list}
Return values
array{list, list, list, list}
getMatrix()
File: Geometry.php line 99
public getMatrix() : array<int, array<int, int|string|null>>
Return values
array<int, array<int, int|string|null»
getSize()
File: Geometry.php line 89
public getSize() : int
Return values
int