CompositeEye.php
1 week ago
EyeInterface.php
1 week ago
ModuleEye.php
1 week ago
SimpleCircleEye.php
1 week ago
SquareEye.php
1 week ago
index.php
1 week ago
EyeInterface.php
25 lines
| 1 | <?php |
| 2 | |
| 3 | declare (strict_types=1); |
| 4 | namespace WP2FA_Vendor\BaconQrCode\Renderer\Eye; |
| 5 | |
| 6 | use WP2FA_Vendor\BaconQrCode\Renderer\Path\Path; |
| 7 | /** |
| 8 | * Interface for describing the look of an eye. |
| 9 | */ |
| 10 | interface EyeInterface |
| 11 | { |
| 12 | /** |
| 13 | * Returns the path of the external eye element. |
| 14 | * |
| 15 | * The path origin point (0, 0) must be anchored at the middle of the path. |
| 16 | */ |
| 17 | public function getExternalPath() : Path; |
| 18 | /** |
| 19 | * Returns the path of the internal eye element. |
| 20 | * |
| 21 | * The path origin point (0, 0) must be anchored at the middle of the path. |
| 22 | */ |
| 23 | public function getInternalPath() : Path; |
| 24 | } |
| 25 |