1 | <?php |
||
19 | class Ellipse extends RoundedShape |
||
20 | { |
||
21 | /** |
||
22 | * Ellipse constructor. |
||
23 | * |
||
24 | * @param ElementInterface $parent |
||
25 | * @param $cx |
||
26 | * @param $cy |
||
27 | * @param $rx |
||
28 | * @param $ry |
||
29 | */ |
||
30 | 8 | public function __construct(ElementInterface $parent, $cx, $cy, $rx, $ry) |
|
37 | |||
38 | /** |
||
39 | * @param ElementInterface $parent |
||
40 | * @param $cx |
||
41 | * @param $cy |
||
42 | * @param $rx |
||
43 | * @param $ry |
||
44 | * |
||
45 | * @return Ellipse |
||
46 | */ |
||
47 | public static function create(ElementInterface $parent, $cx, $cy, $rx, $ry) |
||
51 | |||
52 | 8 | public function getName() |
|
56 | |||
57 | 1 | public function getBoundingBox() |
|
66 | } |