SWFText->getWidth()

(no version information, might be only in CVS)

SWFText->getWidth() -- Computes string's width

Popis

class SWFText {

float getWidth ( string string )

}

Varování

Tato funkce je EXPERIMENTÁLNÍ. Chování této funkce, její název a všechno ostatní, co je zde zdokumentováno, se v budoucích verzích PHP může BEZ OHLÁŠENÍ změnit. Berte to v úvahu a používejte tuto funkci na vlastní nebezpečí.

Returns the rendered width of the string at the text object's current font, scale, and spacing settings.

Viz také

SWFText->getUTF8Width()