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

Class: Image_Graph_Marker_Pointing_Angular

Source Location: /Graph/Marker/Pointing/Angular.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Element
      |
      --Image_Graph_Marker
         |
         --Image_Graph_Marker_Pointing
            |
            --Image_Graph_Marker_Pointing_Angular

Marker that points "away" from the graph.


Methods


Inherited Variables

Inherited Methods

Class: Image_Graph_Marker_Pointing

Image_Graph_Marker_Pointing::Image_Graph_Marker_Pointing()
Create an pointing marker, ie a pin on a board
Image_Graph_Marker_Pointing::setMarkerStart()
Sets the starting marker, ie the tip of the pin on a board

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 47]
Marker that points "away" from the graph.

Use this as a marker for displaying another marker pointing to the original point on the graph - where the "pointer" is calculated as line orthogonal to a line drawn between the points neighbours to both sides (an approximate tangent). This should make an the pointer appear to point "straight" out from the graph. The "head" of the pointer is then another marker of any choice.




[ Top ]


Class Methods


constructor Image_Graph_Marker_Pointing_Angular [line 62]

Image_Graph_Marker_Pointing_Angular &Image_Graph_Marker_Pointing_Angular( int $radius, Marker &$markerEnd)

Image_Graph_AngularPointingMarker [Constructor]



Parameters:

int   $radius   The "length" of the pointer
Marker   $markerEnd   The ending marker that represents "the head of the pin"

[ Top ]


Documentation generated on Wed, 15 Sep 2004 10:30:12 +0200 by phpDocumentor 1.2.3