1234567891011121314151617181920212223242526 |
- <?php
- declare(strict_types = 1);
- namespace BaconQrCode\Renderer\Eye;
- use BaconQrCode\Renderer\Path\Path;
- /**
- * Interface for describing the look of an eye.
- */
- interface EyeInterface
- {
- /**
- * Returns the path of the external eye element.
- *
- * The path origin point (0, 0) must be anchored at the middle of the path.
- */
- public function getExternalPath() : Path;
- /**
- * Returns the path of the internal eye element.
- *
- * The path origin point (0, 0) must be anchored at the middle of the path.
- */
- public function getInternalPath() : Path;
- }
|