1 | <?php |
||
16 | class Rectangle extends \MapsBaseFillableElement { |
||
17 | |||
18 | /** |
||
19 | * @since 3.0 |
||
20 | * @var LatLongValue |
||
21 | */ |
||
22 | protected $rectangleNorthEast; |
||
23 | |||
24 | /** |
||
25 | * @since 3.0 |
||
26 | * @var LatLongValue |
||
27 | */ |
||
28 | protected $rectangleSouthWest; |
||
29 | |||
30 | /** |
||
31 | * @since 3.0 |
||
32 | * |
||
33 | * @param LatLongValue $rectangleNorthEast |
||
34 | * @param LatLongValue $rectangleSouthWest |
||
35 | * |
||
36 | * @throws InvalidArgumentException |
||
37 | */ |
||
38 | 3 | public function __construct( LatLongValue $rectangleNorthEast, LatLongValue $rectangleSouthWest ) { |
|
49 | |||
50 | public function getJSONObject( string $defText = '', string $defTitle = '' ): array { |
||
65 | |||
66 | 4 | public function getRectangleNorthEast(): LatLongValue { |
|
69 | |||
70 | 4 | public function setRectangleNorthEast( LatLongValue $rectangleNorthEast ) { |
|
73 | |||
74 | 4 | public function getRectangleSouthWest(): LatLongValue { |
|
77 | |||
78 | 4 | public function setRectangleSouthWest( LatLongValue $rectangleSouthWest ) { |
|
81 | |||
82 | } |
||
83 |