linea21-externals
[ class tree: linea21-externals ] [ index: linea21-externals ] [ all elements ]

Class: awFileFont

Source Location: /class/system/artichow/php4/inc/Font.class.php

Class Overview

awFont
   |
   --awFileFont

Class for fonts that can be transformed (rotated, skewed, etc.), like TTF or FDB fonts for example.


Variables

Methods


Child classes:

awTTFFont
Class representing TTF fonts

Inherited Methods

Class: awFont

awFont::awFont()
Build the font
awFont::draw()
Draw a text

Class Details

[line 84]
Class for fonts that can be transformed (rotated, skewed, etc.), like TTF or FDB fonts for example.



[ Top ]


Class Variables

$extension =

[line 105]

The font filename extension


Type:   string


[ Top ]

$name =

[line 91]

The name of the font, without the extension


Type:   string


[ Top ]

$size =

[line 98]

The size of the font


Type:   int


[ Top ]



Class Methods


constructor awFileFont [line 107]

awFileFont awFileFont( $name, $size)



Parameters:

   $name  
   $size  

[ Top ]

method getExtension [line 178]

string getExtension( )

Get the filename extension for that font



[ Top ]

method getName [line 142]

string getName( )

Return the name of the font, i.e. the absolute path and the filename, without the extension.



[ Top ]

method getSize [line 160]

int getSize( )

Return the size of the font, in pixels



[ Top ]

method setExtension [line 169]

void setExtension( string $extension)

Set the extension, without the dot



Parameters:

string   $extension  

[ Top ]

method setName [line 121]

void setName( string $name)

Set the name of the font. The $name variable can contain the full path, or just the filename. Artichow will try to do The Right Thing, as well as set the extension property correctly if possible.



Parameters:

string   $name  

[ Top ]

method setSize [line 151]

void setSize( int $size)

Set the size of the font, in pixels



Parameters:

int   $size  

[ Top ]


Documentation generated on Sat, 08 Nov 2008 14:52:14 +0100 by phpDocumentor 1.4.1