SWFText
PHP Manual

SWFText->getWidth

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

SWFText->getWidthComputes string's width

Beschreibung

SWFText
float getWidth ( string $string )
Warnung

Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.

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

Siehe auch


SWFText
PHP Manual