phpDocumentor Painter
[ class tree: Painter ] [ index: Painter ] [ all elements ]

Class: Ellipse

Source Location: /painter.php

Class Ellipse

Class Overview

Encapsulates an ellipse.

Located in /painter.php [line 172]



		
		
		
		

Properties

Methods

[ Top ]
Property Summary
number   $Height   Ellipse height.
number   $Width   Ellipse width.
number   $X   The X co-ordinate of the center of the ellipse.
number   $Y   The Y co-ordinate of the center of the ellipse.

[ Top ]
Method Summary
Ellipse   Ellipse()   Creates a new Ellipse object.
Ellipse   Grow()   Expands the Ellipse by the specified number of pixels.
Ellipse   Shrink()   Srinks the Ellipse by the specified number of pixels.

[ Top ]
Properties
number   $Height [line 196]

Ellipse height.


[ Top ]
number   $Width [line 190]

Ellipse width.


[ Top ]
number   $X [line 178]

The X co-ordinate of the center of the ellipse.


[ Top ]
number   $Y [line 184]

The Y co-ordinate of the center of the ellipse.


[ Top ]
Methods
Constructor Ellipse  [line 205]

  Ellipse Ellipse( number $x, number $y, number $w, number $h  )

Creates a new Ellipse object.

Parameters:
number   $x:  The upper left corner X co-ordinate.
number   $y:  The upper left corner Y co-ordinate.
number   $w:  The width of the Ellipse.
number   $h:  The height of the Ellipse.


[ Top ]
Grow  [line 238]

  Ellipse Grow( [int $v = 1]  )

Expands the Ellipse by the specified number of pixels.

Parameters:
int   $v:  The number of pixels to expand the Ellipse by.


[ Top ]
Shrink  [line 223]

  Ellipse Shrink( [int $v = 1]  )

Srinks the Ellipse by the specified number of pixels.

Parameters:
int   $v:  The number of pixels to shrink the Ellipse by.


[ Top ]

Documentation generated on Mon, 31 Mar 2008 18:35:25 +0100 by phpDocumentor 1.4.1