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

Class: Image_Graph_Marker_Icon

Source Location: /Graph/Marker/Icon.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Element
      |
      --Image_Graph_Marker
         |
         --Image_Graph_Marker_Icon

Data marker using an image as icon


Methods


Child classes:

Image_Graph_Marker_Pinpoint
Data marker using a pinpoint as marker
Image_Graph_Marker_ReversePinpoint
Data marker using a (reverse) pinpoint as marker

Inherited Methods

Class: Image_Graph_Marker

Image_Graph_Marker::setSecondaryMarker()
Set the secondary marker
Image_Graph_Marker::setSize()
Set the "size" of the marker

Class: Image_Graph_Element

Image_Graph_Element::height()
The height of the element on the canvas
Image_Graph_Element::setBackground()
Sets the background fill style of the element
Image_Graph_Element::setBackgroundColor()
Sets the background color of the element
Image_Graph_Element::setBorderColor()
Sets the border color of the element
Image_Graph_Element::setBorderStyle()
Sets the border line style of the element
Image_Graph_Element::setFillColor()
Sets the fill color of the element
Image_Graph_Element::setFillStyle()
Sets the fill style of the element
Image_Graph_Element::setFont()
Sets the font of the element
Image_Graph_Element::setLineColor()
Sets the line color of the element
Image_Graph_Element::setLineStyle()
Sets the line style of the element
Image_Graph_Element::setPadding()
Sets padding of the element
Image_Graph_Element::showShadow()
Shows shadow on the element
Image_Graph_Element::width()
The width of the element on the canvas

Class: Image_Graph_Common

Image_Graph_Common::Image_Graph_Common()
Creates an a instance of Image_Graph_Common.
Image_Graph_Common::add()
Adds an element to the objects element list, the new Image_Graph_elements parent is automatically set
Image_Graph_Common::addColor()
Add a color. Ultimately it should call addColor() from the Image_Graph object
Image_Graph_Common::newColor()
Create a new Image_Graph_color.
Image_Graph_Common::setName()
Sets the name

Class Details

[line 42]
Data marker using an image as icon



[ Top ]


Class Methods


constructor Image_Graph_Marker_Icon [line 79]

Image_Graph_Marker_Icon &Image_Graph_Marker_Icon( string $fileName, [int $width = 0], [int $height = 0])

Create an icon marker



Parameters:

string   $fileName   The filename of the icon
int   $width   The "new" width of the icon if it is to be resized
int   $height   The "new" height of the icon if it is to be resized

[ Top ]

method setPointX [line 113]

void setPointX( int $x)

Set the X "center" point of the marker



Parameters:

int   $x   The X "center" point of the marker

[ Top ]

method setPointY [line 122]

void setPointY( int $y)

Set the Y "center" point of the marker



Parameters:

int   $y   The Y "center" point of the marker

[ Top ]


Documentation generated on Fri, 12 Nov 2004 08:25:26 +0100 by phpDocumentor 1.3.0RC3