Geometry

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.

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

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