PHP Class Prado\Web\UI\WebControls\TRectangleHotSpot

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

Public Methods

Method Description
getBottom ( ) : integer
getCoordinates ( ) : string
getLeft ( ) : integer
getRight ( ) : integer
getShape ( ) : string
getTop ( ) : integer
setBottom ( $value )
setLeft ( $value )
setRight ( $value )
setTop ( $value )

Method Details

getBottom() public method

public getBottom ( ) : integer
return integer the Y coordinate of the bottom side of the rectangle HotSpot region. Defaults to 0.

getCoordinates() public method

public getCoordinates ( ) : string
return string coordinates defining this hotspot shape

getLeft() public method

public getLeft ( ) : integer
return integer the X coordinate of the right side of the rectangle HotSpot region. Defaults to 0.

getRight() public method

public getRight ( ) : integer
return integer the X coordinate of the right side of the rectangle HotSpot region. Defaults to 0.

getShape() public method

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

getTop() public method

public getTop ( ) : integer
return integer the Y coordinate of the top side of the rectangle HotSpot region. Defaults to 0.

setBottom() public method

public setBottom ( $value )

setLeft() public method

public setLeft ( $value )

setRight() public method

public setRight ( $value )

setTop() public method

public setTop ( $value )