Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| MoveTo | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Phpdftk\Svg\Path; |
| 6 | |
| 7 | /** `M x y` / `m dx dy` — start a new sub-path at the given point. */ |
| 8 | final class MoveTo implements PathCommand |
| 9 | { |
| 10 | public function __construct( |
| 11 | public readonly bool $absolute, |
| 12 | public readonly float $x, |
| 13 | public readonly float $y, |
| 14 | ) {} |
| 15 | } |