PHP Class JansenFelipe\OMR\Targets\CircleTarget

Inheritance: extends JansenFelipe\OMR\Contracts\Target
Datei anzeigen Open project: jansenfelipe/omr Class Usage Examples

Public Methods

Method Description
__construct ( $id, Point $point, $radius ) Constructor
getPoint ( ) : Point Get center pointer
getRadius ( ) : float Get radius circle

Method Details

__construct() public method

Constructor
public __construct ( $id, Point $point, $radius )
$id
$point JansenFelipe\OMR\Point
$radius

getPoint() public method

Get center pointer
public getPoint ( ) : Point
return JansenFelipe\OMR\Point

getRadius() public method

Get radius circle
public getRadius ( ) : float
return float