Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| Group | |
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; |
| 6 | |
| 7 | /** |
| 8 | * SVG `<g>` element per SVG 2 §5.2 — a grouping container that lets a |
| 9 | * single `transform`, opacity, or clip apply to all descendants together. |
| 10 | * It has no geometry of its own; the painter just nests its children under |
| 11 | * any matrix the group carries. |
| 12 | */ |
| 13 | final class Group extends Element |
| 14 | { |
| 15 | public function __construct() |
| 16 | { |
| 17 | parent::__construct('g'); |
| 18 | } |
| 19 | } |