\BaconQrCode\Renderer\EyeCompositeEye

Combines the style of two different eyes.

Summary

Methods
Properties
Constants
__construct()
getExternalPath()
getInternalPath()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$externalEye
$internalEye
N/A

Properties

$externalEye

$externalEye : \BaconQrCode\Renderer\Eye\EyeInterface

Type

EyeInterface

$internalEye

$internalEye : \BaconQrCode\Renderer\Eye\EyeInterface

Type

EyeInterface

Methods

__construct()

__construct(\BaconQrCode\Renderer\Eye\EyeInterface  $externalEye, \BaconQrCode\Renderer\Eye\EyeInterface  $internalEye) : mixed

Parameters

\BaconQrCode\Renderer\Eye\EyeInterface $externalEye
\BaconQrCode\Renderer\Eye\EyeInterface $internalEye

Returns

mixed —

getExternalPath()

getExternalPath() : \BaconQrCode\Renderer\Path\Path

Returns the path of the external eye element.

The path origin point (0, 0) must be anchored at the middle of the path.

Returns

\BaconQrCode\Renderer\Path\Path —

getInternalPath()

getInternalPath() : \BaconQrCode\Renderer\Path\Path

Returns the path of the internal eye element.

The path origin point (0, 0) must be anchored at the middle of the path.

Returns

\BaconQrCode\Renderer\Path\Path —