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

Public Member Functions

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

Protected Attributes

 $rectangleNorthEast
 
 $rectangleSouthWest
 
- Protected Attributes inherited from MapsBaseFillableElement
 $fillColor
 
 $fillOpacity
 
- Protected Attributes inherited from MapsBaseStrokableElement
 $strokeColor
 
 $strokeOpacity
 
 $strokeWeight
 
- Protected Attributes inherited from Maps\Elements\BaseElement
 $options
 

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

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

Member Function Documentation

Maps\Elements\Rectangle::getJSONObject (   $defText = '',
  $defTitle = '' 
)
Since
3.0
Parameters
string$defText
string$defTitle
Returns
array
Maps\Elements\Rectangle::getRectangleNorthEast ( )
Since
3.0
Returns
LatLongValue
Maps\Elements\Rectangle::getRectangleSouthWest ( )
Since
3.0
Returns
LatLongValue
Maps\Elements\Rectangle::setRectangleNorthEast ( LatLongValue  $rectangleNorthEast)
Since
3.0
Parameters
LatLongValue$rectangleNorthEast
Maps\Elements\Rectangle::setRectangleSouthWest ( LatLongValue  $rectangleSouthWest)
Since
3.0
Parameters
LatLongValue$rectangleSouthWest

Member Data Documentation

Maps\Elements\Rectangle::$rectangleNorthEast
protected
Maps\Elements\Rectangle::$rectangleSouthWest
protected

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