PHP: SWFFont->getWidth() - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SWFFontChar SWFFont->getUTF8Width()

Last updated: Fri, 26 Jan 2007

view this page in

# SWFFont->getWidth()

(no version information, might be only in CVS)

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

## Описание

class SWFFont {
float getWidth ( string string )
}

Внимание
Эта функция является ЭКСПЕРИМЕНТАЛЬНОЙ. Поведение этой функции, ее имя и относящаяся к ней документация могут измениться в последующих версиях 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.

## Смотрите также

SWFFont->getUTF8Width()

add a note User Contributed Notes
SWFFont->getWidth()
There are no user contributed notes for this page.
SWFFontChar SWFFont->getUTF8Width()

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST