SWFText
PHP Manual

SWFText->getWidth

(No version information available, might be only in CVS)

SWFText->getWidthComputes string's width

Opis

SWFText
float getWidth ( string $string )
Ostrzeżenie

Ta funkcja jest w stadium EKSPERYMENTALNYM. Oznacza to, że zachowanie funkcji, jej nazwa, w zasadzie wszystko udokumentowane tutaj może zostać zmienione w przyszłych wersjach PHP bez wcześniejszego uprzedzenia. Używaj tej funkcji na własne ryzyko.

Returns the rendered width of the string at the text object's current font, scale, and spacing settings.

Patrz także


SWFText
PHP Manual