SWFFont::getWidth

(PHP 5 < 5.3.0, PECL ming SVN)

SWFFont::getWidthReturns the string's width

˵��

SWFFont::getWidth ( string $string ) : float
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.

�μ�