| 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 | 7 | public function __construct() |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @return Gradient |
||
| 43 | */ |
||
| 44 | 1 | public function getGradient() |
|
| 48 | |||
| 49 | /** |
||
| 50 | * @param int $rx |
||
| 51 | * |
||
| 52 | * @return $this |
||
| 53 | */ |
||
| 54 | 1 | public function setRx($rx) |
|
| 60 | |||
| 61 | /** |
||
| 62 | * @param int $ry |
||
| 63 | * |
||
| 64 | * @return $this |
||
| 65 | */ |
||
| 66 | 1 | public function setRy($ry) |
|
| 72 | } |
||
| 73 |