Class Image_Graph_DataMarker_Diamond

Description

Diamond datamarker-element

The shape of this datamarker is a diamond (or rhomb). The size set by setSize() is the width/height.

Located in /Graph/DataMarker/Diamond.php (line 45)

Image_Graph_DataMarker_Common
   |
   --Image_Graph_DataMarker_Diamond
Method Summary
 Image_Graph_DataMarker_Diamond Image_Graph_DataMarker_Diamond ([array $attributes = array()])
 void drawGD (resource &$img, array $pos)
Methods
Constructor Image_Graph_DataMarker_Diamond (line 53)

Constructor

  • access: public
Image_Graph_DataMarker_Diamond Image_Graph_DataMarker_Diamond ([array $attributes = array()])
  • array $attributes: attributes like color
drawGD (line 65)

Draws diagram element

  • access: public
void drawGD (resource &$img, array $pos)
  • resource &$img: GD-resource to draw to
  • array $pos: (array of int) absolute position (x/y), where to draw the marker

Inherited Methods

Inherited From Image_Graph_DataMarker_Common

 Image_Graph_DataMarker_Common::Image_Graph_DataMarker_Common()
 Image_Graph_DataMarker_Common::setColor()
 Image_Graph_DataMarker_Common::setSize()

Documentation generated on Sat, 21 Feb 2004 23:28:02 +0100 by phpDocumentor 1.3.0RC2