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

Class: Image_Graph_Font_Extended

Source Location: /Graph/Font/Extended.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Font
      |
      --Image_Graph_Font_Extended

A font with extended functionality.


Author(s):

Methods


Child classes:

Image_Graph_Font_TTF
A truetype font.

Inherited Methods

Class: Image_Graph_Font

Image_Graph_Font::Image_Graph_Font()
Image_Graph_Font [Constructor]
Image_Graph_Font::height()
Get the height of the text specified in pixels
Image_Graph_Font::setColor()
Set the color of the font
Image_Graph_Font::width()
Get the width of the text specified in pixels

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 43]
A font with extended functionality.



Tags:

abstract:  


[ Top ]


Class Methods


method setAngle [line 64]

void setAngle( int $angle)

Set the angle slope of the output font (0 = normal, 90 = bottom and up, 180 = upside down, 270 = top and down)



Parameters:

int   $angle   The angle in degrees to slope the text

[ Top ]

method setSize [line 73]

void setSize( int $size)

Set the size of the font



Parameters:

int   $size   The size in pixels of the font

[ Top ]


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