1 | <?php |
||
8 | class BoxStyle |
||
9 | { |
||
10 | use StrokeTrait; |
||
11 | |||
12 | use StrokeWidthTrait; |
||
13 | |||
14 | /** |
||
15 | * x-radius of the corner curvature. |
||
16 | * |
||
17 | * @var int |
||
18 | */ |
||
19 | protected $rx; |
||
20 | |||
21 | /** |
||
22 | * y-radius of the corner curvature. |
||
23 | * |
||
24 | * @var int |
||
25 | */ |
||
26 | protected $ry; |
||
27 | |||
28 | /** |
||
29 | * @var Gradient |
||
30 | */ |
||
31 | protected $gradient; |
||
32 | |||
33 | /** |
||
34 | * BoxStyle constructor. |
||
35 | */ |
||
36 | public function __construct() |
||
40 | |||
41 | /** |
||
42 | * @param int $rx |
||
43 | * |
||
44 | * @return $this |
||
45 | */ |
||
46 | public function setRx($rx) |
||
52 | |||
53 | /** |
||
54 | * @param int $ry |
||
55 | * |
||
56 | * @return $this |
||
57 | */ |
||
58 | 1 | public function setRy($ry) |
|
64 | } |
||
65 |