Table of contents
Namespace: Com\Tecnick\Barcode\Type\Square\QrCode
File: Geometry.php line 37
Function patterns of the QrCode Barcode type class, section 7.3 of ISO/IEC 18004: the finder patterns and their separators, the timing patterns, the alignment patterns, and the modules reserved for the format and the version information.
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
Methods
__construct()
File: Geometry.php line 55
public __construct(int $version) : mixed
Parameters
- $version : int: Symbol version, from 1 to 40.
getAlignmentCentres()
File: Geometry.php line 77
public getAlignmentCentres() : array<int, array{int, int}>
Return values
array<int, array{int, int}>
getSize()
File: Geometry.php line 65
public getSize() : int
Return values
int
isDarkModule()
File: Geometry.php line 133
public isDarkModule(int $row, int $col) : bool
Parameters
- $row : int: Row of the module.
- $col : int: Column of the module.
Return values
bool
isFunctionModule()
File: Geometry.php line 102
public isFunctionModule(int $row, int $col) : bool
Parameters
- $row : int: Row of the module.
- $col : int: Column of the module.
Return values
bool