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

Class: Image_Graph_Font_Extended

Source Location: /Image_Graph-0.3.0/Graph/Font/Extended.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Font
      |
      --Image_Graph_Font_Extended

A font with extended functionality.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • Copyright (C) 2003, 2004 Jesper Veggerby Hansen

Methods


Child classes:

Image_Graph_Font_TTF
A truetype font.

Inherited Variables

Inherited Methods

Class: Image_Graph_Font

Image_Graph_Font::Image_Graph_Font()
Image_Graph_Font [Constructor]
Image_Graph_Font::setColor()
Set the color of the font

Class: Image_Graph_Common

Image_Graph_Common::Image_Graph_Common()
Constructor [Image_Graph_Common]
Image_Graph_Common::add()
Adds an element to the objects element list.
Image_Graph_Common::addNew()
Creates an object from the class and adds it to the objects element list.

Class Details

[line 49]
A font with extended functionality.


[ Top ]


Method Detail

setAngle   [line 73]

void setAngle( int $angle)

Set the angle slope of the output font.

  1. = normal, 90 = bottom and up, 180 = upside down, 270 = top and down


Parameters:

int   $angle   —  The angle in degrees to slope the text

[ Top ]

setSize   [line 83]

void setSize( int $size)

Set the size of the font

Parameters:

int   $size   —  The size in pixels of the font

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:24:55 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.