SWFFont->getWidth()
(PHP 4 >= 4.0.5)
SWFFont->getWidth() — Returns the string's width
Description
SWFFont
float getWidth
( string $string
)
Warning
הפונקציה זאת היא ניסיונית. ההתנהגות של הפונצקיה, שם הפונקציה וכל הדברים אשר מתועדים כאן עשויים להשתנות ללא התרעה בהפצות עתידיות של 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.