PHP Class Prado\Web\UI\WebControls\TPolygonHotSpot

TPolygonHotSpot defines a polygon hot spot region in a {@link TImageMap} control.
Since: 3.0
Author: Qiang Xue ([email protected])
Inheritance: extends THotSpot
Exibir arquivo Open project: pradosoft/prado

Public Methods

Method Description
getCoordinates ( ) : string
getShape ( ) : string
setCoordinates ( $value )

Method Details

getCoordinates() public method

public getCoordinates ( ) : string
return string coordinates of the vertices defining the polygon. Coordinates are concatenated together with comma ','. Each pair represents (x,y) of a vertex.

getShape() public method

public getShape ( ) : string
return string shape of this hotspot.

setCoordinates() public method

public setCoordinates ( $value )