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