SunshinePHP 2019

The SWFFont class

(PHP 5 < 5.3.0, PECL ming SVN)

Introduction

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

Class synopsis

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

Table of Contents

add a note add a note

User Contributed Notes

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