Home > PHP > Function > > SWFFont->__construct()

SWFFont->__construct()

SWFFont->__construct - Loads a font definition

Syntax

SWFFont SWFFont->__construct (string $filename)

Arguments

  • filename - When y is 1.0, it is a 45-degree upward slant. More is more upward, less is more downward.

Description

If filename is the name of an FDB file (i.e., it ends in ".fdb"), load the font definition found in said file. Otherwise, create a browser-defined font reference.

Version

PHP 5 <= 5.3.0, PECL ming SVN

Return value