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

Class: Image_Graph_Font

Source Location: /Image_Graph-0.8.0/Graph/Font.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Font

A font.


Author(s):

Version:

  • Release: 0.8.0

Copyright:

  • 2003-2009 The PHP Group

Methods


Inherited Variables

Inherited Methods

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.
Image_Graph_Common::hide()
Hide the element

Class Details

[line 51]
A font.


[ Top ]


Method Detail

Image_Graph_Font (Constructor)   [line 88]

Image_Graph_Font Image_Graph_Font( [string $name = false], [int $size = false])

Image_Graph_Font [Constructor]

Parameters:

string   $name   —  Font name
int   $size   —  Font size

[ Top ]

setAngle   [line 120]

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 ]

setColor   [line 106]

void setColor( mixed $color)

Set the color of the font

Parameters:

mixed   $color   —  The color object of the Font

[ Top ]

setSize   [line 132]

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 15:39:35 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.