SunshinePHP Developer Conference 2015

The SWFFont class

Introduction

The SWFFont object represent a reference to the font definition, for us with SWFText->setFont and SWFTextField->setFont.

Class synopsis

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

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top