Class Image_Graph_DataMarker_Common

Description

Base class for a datamarker-element (e.g. "diamond", "square" or "triangle")

This class provides a basic implementation that is used and extended in all derived datamarker-elements.

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


	
			
Direct descendents
Class Description
 class Image_Graph_DataMarker_Diamond Diamond datamarker-element
 class Image_Graph_DataMarker_Square Square datamarker-element
Method Summary
 Image_Graph_DataMarker_Common Image_Graph_DataMarker_Common (array $attributes)
 void setColor (mixed $color)
 void setSize (int $size)
Methods
Constructor Image_Graph_DataMarker_Common (line 78)

Constructor

  • access: public
Image_Graph_DataMarker_Common Image_Graph_DataMarker_Common (array $attributes)
  • array $attributes: attributes like color (to be extended to also include shading etc.)
setColor (line 94)

Set color

void setColor (mixed $color)
  • mixed $color: any color representation supported by Image_Graph_Color::color2RGB()
setSize (line 105)

Set size

  • access: public
void setSize (int $size)
  • int $size: size

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