SWFFill::skewYTo
SWFFont::__construct
Ming
PHP Manual

# The SWFFont class

(PHP 5 <= 5.3.0, PECL ming SVN)

## Einführung

The SWFFont object represent a reference to the font definition, for us with SWFText::setFont() and SWFTextField::setFont().

## Klassenbeschreibung

SWFFont {
/* Methoden */
__construct ( string `$filename` )
float getAscent ( void )
float getDescent ( void )
float getLeading ( void )
string getShape ( int `$code` )
float getUTF8Width ( string `$string` )
float getWidth ( string `$string` )
}

## Inhaltsverzeichnis

- SWFFont::__construct — Loads a font definition
- SWFFont::getAscent — Returns the ascent of the font, or 0 if not available
- SWFFont::getDescent — Returns the descent of the font, or 0 if not available
- SWFFont::getLeading — Returns the leading of the font, or 0 if not available
- SWFFont::getShape — Returns the glyph shape of a char as a text string
- SWFFont::getUTF8Width — Calculates the width of the given string in this font at full height
- SWFFont::getWidth — Returns the string's width

SWFFill::skewYTo
SWFFont::__construct
Ming
PHP Manual