SWFText->getWidth()
(PHP 4 >= 4.0.5)
SWFText->getWidth() — Computes string's width
Description
SWFText
float getWidth
( string $string
)
Warning
הפונקציה זאת היא ניסיונית. ההתנהגות של הפונצקיה, שם הפונקציה וכל הדברים אשר מתועדים כאן עשויים להשתנות ללא התרעה בהפצות עתידיות של PHP. השתמש בתוספת זאת על אחריותך בלבד.
Returns the rendered width of the string at the text object's current font, scale, and spacing settings.