Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| Point | |
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\Geometry; |
| 6 | |
| 7 | /** |
| 8 | * 2D point in PDF user-space coordinates (1 unit = 1/72 inch). |
| 9 | */ |
| 10 | final class Point |
| 11 | { |
| 12 | public function __construct( |
| 13 | public readonly float $x, |
| 14 | public readonly float $y, |
| 15 | ) {} |
| 16 | } |