Image_Graph_Fill_CommonBase class for a fill-element (e.g. a "solid" fill or a "gradient" fill)
This class provides a basic implementation that is used and extended in all derived fill-elements. Fill-elements can be used at various places in Image_Graph. E.g. you can use it for filling a data-element (Image_Graph_Data_Common and derived classes) or a grid-element (Image_Graph_Grid).
Located in /Graph/Fill/Common.php (line 58)
| Class | Description |
|---|---|
Image_Graph_Fill_Solid
|
Solid fill-element |
Image_Graph_Fill_Gradient
|
Gradient fill-element |
Constructor Image_Graph_Fill_Common (line 82)
Constructor
drawGDBox (line 114)
Draws fill element, shape: box
drawGDPolygon (line 126)
Draws fill element, shape: polygon
setColor (line 102)
Set color
Please note that derived classes which might need more than one color (e.g. for a gradient fill) might overwrite this function and demand that $color is not one color but an array of colors.
Documentation generated on Sat, 21 Feb 2004 23:28:01 +0100 by phpDocumentor 1.3.0RC2