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 */
float getAscent
( void
)
float getDescent
( void
)
float getLeading
( void
)
string getShape
( int $code
)
float getUTF8Width
( string $string
)
float getWidth
( string $string
)
}Table of Contents
- SWFFont->__construct — Loads a font definition
- SWFFont->getAscent — بازگرداندن ارتفاع فونت یا 0 اگر موجود نباشد
- SWFFont->getDescent — بازگرداندن ارتفاع فونت یا 0 اگر موجود نباشد
- SWFFont->getLeading — بازگرداندن فونت اصلی یا 0 اگر موجود نباشد
- SWFFont->getShape — بازگرداندن شکل glyph char به عنوان رشته متن
- SWFFont->getUTF8Width — محاسبه عرض رشته داده شده با استفاده از فونت با طول کامل
- SWFFont->getWidth — Returns the string's width
There are no user contributed notes for this page.
