The SWFFont class
Введение
The SWFFont object represent a reference to the font definition, for us with SWFText->setFont() and SWFTextField->setFont().
Class synopsis
SWFFont
class SWFFont
{
/* Methods */
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
)
}Содержание
- 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
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Генерация нетекстовых MIME форматов
- Введение
- Установка и настройка
- Предопределенные константы
- Примеры
- Ming Функции
- The SWFAction class
- The SWFBitmap class
- The SWFButton class
- The SWFDisplayItem class
- The SWFFill class
- The SWFFont class
- The SWFFontChar class
- The SWFGradient class
- The SWFMorph class
- The SWFMovie class
- The SWFPrebuiltClip class
- The SWFShape class
- The SWFSound class
- The SWFSoundInstance class
- The SWFSprite class
- The SWFText class
- The SWFTextField class
- The SWFVideoStream class
Коментарии
404 Not Found