\BaconQrCode\Renderer\ModuleModuleInterface

Interface describing how modules should be rendered.

A module always receives a byte matrix (with values either being 1 or 0). It returns a path, where the origin coordinate (0, 0) equals the top left corner of the first matrix value.

Summary

Methods
Constants
createPath()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

createPath()

createPath(\BaconQrCode\Encoder\ByteMatrix  $matrix) : \BaconQrCode\Renderer\Path\Path

Parameters

\BaconQrCode\Encoder\ByteMatrix $matrix

Returns

\BaconQrCode\Renderer\Path\Path —