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

Class: Arc

Source Location: /painter.php

Class Arc

Class Overview

Encapsulates an arc.

Located in /painter.php [line 253]



		
		
		
		

Properties

Methods

[ Top ]
Property Summary
number   $End   The end angle of the arc.
number   $Height   The height of the ellipse the arc is a part of.
number   $Start   The start angle of the arc.
number   $Width   The width of the ellipse the arc is a part of.
number   $X   The X co-ordinate of the ellipse the arc is a part of.
number   $Y   The Y co-ordinate of the ellipse the arc is a part of.

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

[ Top ]
Properties
number   $End [line 289]

The end angle of the arc.


[ Top ]
number   $Height [line 277]

The height of the ellipse the arc is a part of.


[ Top ]
number   $Start [line 283]

The start angle of the arc.


[ Top ]
number   $Width [line 271]

The width of the ellipse the arc is a part of.


[ Top ]
number   $X [line 259]

The X co-ordinate of the ellipse the arc is a part of.


[ Top ]
number   $Y [line 265]

The Y co-ordinate of the ellipse the arc is a part of.


[ Top ]
Methods
Constructor Arc  [line 300]

  Arc Arc( number $x, number $y, number $w, number $h, number $s, number $e  )

Creates a new Arc 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 Arc.
number   $h:  The height of the Arc.
number   $s:  The start angle.
number   $e:  The end angle.


[ Top ]
Grow  [line 337]

  Arc Grow( [int $v = 1]  )

Expands the Arc by the specified number of pixels.

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


[ Top ]
Shrink  [line 322]

  Arc Shrink( [int $v = 1]  )

Srinks the Arc by the specified number of pixels.

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


[ Top ]

Documentation generated on Thu, 27 Mar 2008 22:29:48 +0000 by phpDocumentor 1.4.1