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

Class: Image_Graph_Font_Vertical

Source Location: /Graph/Font/Vertical.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Font
      |
      --Image_Graph_Font_Vertical

A vertical font


Author(s):

Methods


Inherited Variables

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 vertical font



Tags:



[ Top ]


Class Methods


method height [line 61]

int height( string $text)

Get the height of the text specified in pixels



Tags:

return:  The height of the text using the specified font


Overrides Image_Graph_Font::height() (Get the height of the text specified in pixels)

Parameters:

string   $text   The text to calc the height for

[ Top ]

method width [line 51]

int width( string $text)

Get the width of the text specified in pixels



Tags:

return:  The width of the text using the specified font


Overrides Image_Graph_Font::width() (Get the width of the text specified in pixels)

Parameters:

string   $text   The text to calc the width for

[ Top ]


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