Source for file PointDouble.php
Documentation is available at PointDouble.php
* @copyright (c) 1995-2010 by Steema Software SL. All Rights Reserved. <info@steema.com>
* @link http://www.steema.com
function __get( $property ) {
$method = "get{$property}";
function __set ( $property,$value ) {
$method = "set{$property}";
return $this->$method($value);
* Constructs and initializes a point at the origin
* (0, 0) of the coordinate space.
* The X location in pixels.
* Sets the X location in pixels.
public function setX($value) {
* The Y location in pixels.
* Sets the Y location in pixels.
public function setY($value) {
* convert PointDouble to rounded value Point
public static function round($value)
* convert PointDouble[] to rounded value Point[]
$result = Array(); // Array of TeePoint new TeePoint[value.length];
for ($i = 0; $i < sizeof($value); $i++ )
|