SWFFont->getWidth()

(no version information, might be only in CVS)

SWFFont->getWidth() -- Returns the string's width

Описание

class SWFFont {

float getWidth ( string string )

}

Внимание

Эта функция является ЭКСПЕРИМЕНТАЛЬНОЙ. Поведение этой функции, ее имя и относящаяся к ней документация могут измениться в последующих версиях PHP без уведомления. Используйте эту функцию на свой страх и риск.

swffont->getwidth() returns the string string's width, using font's default scaling. You'll probably want to use the swftext() version of this method which uses the text object's scale.

Смотрите также

SWFFont->getUTF8Width()