src/Renderer/Path/OperationInterface.php
raw| 1 | <?php |
| 2 | declare(strict_types = 1); |
| 3 | |
| 4 | namespace BaconQrCode\Renderer\Path; |
| 5 | |
| 6 | interface OperationInterface |
| 7 | { |
| 8 | /** |
| 9 | * Translates the operation's coordinates. |
| 10 | */ |
| 11 | public function translate(float $x, float $y) : self; |
| 12 | |
| 13 | /** |
| 14 | * Rotates the operation's coordinates. |
| 15 | */ |
| 16 | public function rotate(int $degrees) : self; |
| 17 | } |