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

Public Member Functions

 setOnlyVisibleOnHover ($visible)
 
 isOnlyVisibleOnHover ()
 
 setFillOpacity ($fillOpacity)
 
 setFillColor ($fillColor)
 
 getJSONObject ($defText= '', $defTitle= '')
 
- Public Member Functions inherited from Maps\Elements\Line
 __construct (array $coordinates=[])
 
 getLineCoordinates ()
 
 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)
 

Additional Inherited Members

- Protected Attributes inherited from Maps\Elements\Line
 $coordinates
 
- 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 >

Member Function Documentation

Maps\Elements\Polygon::getJSONObject (   $defText = '',
  $defTitle = '' 
)
Maps\Elements\Polygon::isOnlyVisibleOnHover ( )
Since
3.0
Returns
boolean
Maps\Elements\Polygon::setFillColor (   $fillColor)
Maps\Elements\Polygon::setFillOpacity (   $fillOpacity)
Maps\Elements\Polygon::setOnlyVisibleOnHover (   $visible)
Since
3.0
Parameters
boolean$visible
Exceptions
InvalidArgumentException

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