Changeset 336 for cleversvg/trunk/elements/csEllipse.class.php
- Timestamp:
- 03/07/08 08:33:04 (4 years ago)
- Files:
-
- 1 modified
-
cleversvg/trunk/elements/csEllipse.class.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cleversvg/trunk/elements/csEllipse.class.php
r318 r336 2 2 /** 3 3 * SVG Ellipse class 4 * 4 * 5 5 * @author Nicolas Perriault <nperriault@gmail.com> 6 6 * @package cleversvg … … 14 14 /** 15 15 * Class constructor 16 * 16 * 17 17 */ 18 18 public function __construct($cx=null, $cy=null, $rx=null, $ry=null, $attrs=array()) … … 24 24 $this->attributes = array_merge($attrs, $this->attributes); 25 25 } 26 26 27 27 /** 28 28 * The x-axis coordinate of the center of the circle. 29 * 30 * @param int $cx 29 * 30 * @param int $cx 31 31 */ 32 32 public function setCx($cx) … … 34 34 $this->setAttribute('cx', $cx); 35 35 } 36 36 37 37 /** 38 38 * The y-axis coordinate of the center of the circle. 39 * 40 * @param int $cy 39 * 40 * @param int $cy 41 41 */ 42 42 public function setCy($cy) … … 44 44 $this->setAttribute('cy', $cy); 45 45 } 46 46 47 47 /** 48 48 * Sets the x-radius of the circle 49 * 49 * 50 50 * @param int $xradius 51 51 */ … … 54 54 $this->setAttribute('rx', $xradius); 55 55 } 56 56 57 57 /** 58 58 * Sets the y-radius of the circle 59 * 59 * 60 60 * @param int $yradius 61 61 */ … … 64 64 $this->setAttribute('ry', $yradius); 65 65 } 66 66 67 67 }
