Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
SmoothQuadraticCurveTo
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3declare(strict_types=1);
4
5namespace Phpdftk\Svg\Path;
6
7/**
8 * `T x y` — smooth quadratic Bézier. The control point is the reflection of
9 * the previous quadratic command's control point; the painter reconstructs it.
10 */
11final class SmoothQuadraticCurveTo implements PathCommand
12{
13    public function __construct(
14        public readonly bool $absolute,
15        public readonly float $x,
16        public readonly float $y,
17    ) {}
18}