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

Class: Image_Graph_Font_Vertical

Source Location: /Image_Graph-0.3.0dev1/Graph/Font/Vertical.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Font
      |
      --Image_Graph_Font_Vertical

A vertical font


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()
Constructor
Image_Graph_Common::add()
Adds an element to the objects element list, the new Image_Graph_elements parent is automatically set
Image_Graph_Common::addNew()
Creates an object from the class specified and adds it to the objects element list.

Class Details

[line 44]
A vertical font


[ Top ]


Method Detail

height   [line 62]

int height( string $text)

Get the height of the text specified in pixels
  • 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 ]

width   [line 52]

int width( string $text)

Get the width of the text specified in pixels
  • 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 Mon, 11 Mar 2019 13:57:46 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.