SWFFont->getWidth()

(no version information, might be only in CVS)

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

Description

class SWFFont {

float getWidth ( string string )

}

Avertissement

Cette fonction est EXPERIMENTALE. Cela signifie que le comportement de cette fonction, son nom et, concrètement, TOUT ce qui est documenté ici peut changer dans un futur proche, SANS PREAVIS ! Soyez-en conscient, et utilisez cette fonction à vos risques et périls.

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.

Voir aussi

SWFFont->getUTF8Width()