Semantic MediaWiki and related extensions
Public Member Functions | Protected Attributes | List of all members
Maps\Elements\Rectangle Class Reference
Inheritance diagram for Maps\Elements\Rectangle:
Inheritance graph
[legend]
Collaboration diagram for Maps\Elements\Rectangle:
Collaboration graph
[legend]

Public Member Functions

 __construct (LatLongValue $rectangleNorthEast, LatLongValue $rectangleSouthWest)
 
 getJSONObject (string $defText='', string $defTitle='')
 
 getRectangleNorthEast ()
 
 setRectangleNorthEast (LatLongValue $rectangleNorthEast)
 
 getRectangleSouthWest ()
 
 setRectangleSouthWest (LatLongValue $rectangleSouthWest)
 
- Public Member Functions inherited from Maps\Elements\BaseFillableElement
 getJSONObject (string $defText='', string $defTitle='')
 
 hasFillColor ()
 
 getFillColor ()
 
 setFillColor ( $fillColor)
 
 hasFillOpacity ()
 
 getFillOpacity ()
 
 setFillOpacity ( $fillOpacity)
 
- Public Member Functions inherited from Maps\Elements\BaseStrokableElement
 getJSONObject (string $defText='', string $defTitle='')
 
 hasStrokeColor ()
 
 getStrokeColor ()
 
 setStrokeColor ( $strokeColor)
 
 hasStrokeOpacity ()
 
 getStrokeOpacity ()
 
 setStrokeOpacity ( $strokeOpacity)
 
 hasStrokeWeight ()
 
 getStrokeWeight ()
 
 setStrokeWeight ( $strokeWeight)
 
- Public Member Functions inherited from Maps\Elements\BaseElement
 setTitle (string $title)
 
 setText (string $text)
 
 setLink (string $link)
 
 getArrayValue ()
 
 getJSONObject (string $defText='', string $defTitle='')
 
 getText ()
 
 getTitle ()
 
 getLink ()
 

Protected Attributes

 $rectangleNorthEast
 
 $rectangleSouthWest
 
- Protected Attributes inherited from Maps\Elements\BaseFillableElement
 $fillColor
 
 $fillOpacity
 
- Protected Attributes inherited from Maps\Elements\BaseStrokableElement
 $strokeColor
 
 $strokeOpacity
 
 $strokeWeight
 

Detailed Description

Since
3.0

GNU GPL v2+

Author
Kim Eik < kim@h.nosp@m.eldi.nosp@m.g.org >
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Constructor & Destructor Documentation

◆ __construct()

Maps\Elements\Rectangle::__construct ( LatLongValue  $rectangleNorthEast,
LatLongValue  $rectangleSouthWest 
)
Since
3.0
Parameters
LatLongValue$rectangleNorthEast
LatLongValue$rectangleSouthWest
Exceptions
InvalidArgumentException

The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy