[ class tree: phpchartPlus ] [ index: phpchartPlus ] [ all elements ]

Class: Shape

Source Location: /Shape.php

Class Overview


Base class for all kinds of shapes


Author(s):

Variables

Methods


Child classes:

Rectangle
Wrapper around gd's Image(Filled)Rectangle functions
Circle
Wrapper around gd's Image(Filled)Arc functions
Polygon
Wrapper around gd's Image(Filled)Polygon functions
Line
Wrapper around gd's ImageLine function

Class Details

[line 18]
Base class for all kinds of shapes



Tags:

abstract:  
license:  GNU Public License
author:  Tsiavos Chris <jaames@freemail.gr>


[ Top ]


Class Variables

$Canvas =

[line 25]

reference to the image handler the shape will be drawn in



Tags:

access:  protected

Type:   mixed


[ Top ]

$ColorAllocator =

[line 32]

reference to the ColorAllocator the class will use for allocating the shape color



Tags:

access:  protected

Type:   ColorAllocator


[ Top ]

$UseAntialias =

[line 39]

whether antialias functions should be used or not when drawing the shape



Tags:

access:  protected

Type:   string


[ Top ]



Class Methods


constructor __construct [line 41]

Shape __construct( mixed &$Canvas, ColorAllocator &$ColorAllocator, mixed $UseAntialias)



Overridden in child classes as:

Rectangle::__construct()
Constructor
Circle::__construct()
Constructor
Polygon::__construct()
Constructor
Line::__construct()
Constructor

[ Top ]


Documentation generated on Sun, 3 Oct 2004 14:59:33 +0300 by phpDocumentor 1.3.0RC3