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