Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | class PathShapeRenderer |
||
11 | { |
||
12 | public const MOVE_TO = 'M'; |
||
13 | public const LINE_TO = 'L'; |
||
14 | public const HORIZONTAL_LINE = 'H'; |
||
15 | public const VERTICAL_LINE = 'V'; |
||
16 | public const CLOSE_PATH = 'Z'; |
||
17 | public const CUBIC_CURVE = 'C'; |
||
18 | public const SHORT_CUBIC_CURVE = 'S'; |
||
19 | public const QUADRATIC_CURVE = 'Q'; |
||
20 | public const SHORT_QUADRATIC_CURVE = 'T'; |
||
21 | public const ARC = 'A'; |
||
22 | |||
23 | 3 | public static function renderLineStringPath(LineString $lineString, Coordinator $coordinator): string |
|
39 |