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

Class: awTTFFont

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

Class Overview

awFont
   |
   --awFileFont
      |
      --awTTFFont

Class representing TTF fonts


Methods


Inherited Variables

Inherited Methods

Class: awFileFont

awFileFont::__construct()
awFileFont::getExtension()
Get the filename extension for that font
awFileFont::getName()
Return the name of the font, i.e. the absolute path and the filename, without the extension.
awFileFont::getSize()
Return the size of the font, in pixels
awFileFont::setExtension()
Set the extension, without the dot
awFileFont::setName()
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.
awFileFont::setSize()
Set the size of the font, in pixels

Class: awFont

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

Class Details

[line 192]
Class representing TTF fonts



[ Top ]


Class Methods


constructor __construct [line 194]

awTTFFont __construct( $name, $size)



Tags:

access:  public


Overrides awFileFont::__construct() (parent method not documented)

Parameters:

   $name  
   $size  

[ Top ]


Documentation generated on Thu, 03 May 2012 15:04:40 +0200 by phpDocumentor 1.4.1