| 1 | <?php |
||
| 14 | class Polygon extends Line { |
||
| 15 | |||
| 16 | private $onlyVisibleOnHover = false; |
||
| 17 | private $fillOpacity = '0.5'; |
||
| 18 | private $fillColor = '#FF0000'; |
||
| 19 | |||
| 20 | 3 | public function isOnlyVisibleOnHover(): bool { |
|
| 23 | |||
| 24 | 3 | public function setOnlyVisibleOnHover( bool $visible ) { |
|
| 27 | |||
| 28 | 3 | public function setFillOpacity( string $fillOpacity ) { |
|
| 31 | |||
| 32 | 3 | public function setFillColor( string $fillColor ) { |
|
| 35 | |||
| 36 | 6 | public function getJSONObject( string $defText = '', string $defTitle = '' ): array { |
|
| 45 | |||
| 46 | } |
||
| 47 |