HaruPage::getTextWidth

(no version information, might be only in CVS)

HaruPage::getTextWidth -- Get the width of the text using current fontsize, character spacing and word spacing

说明

float HaruPage::getTextWidth ( string text )

Returns the width of the text using current fontsize, character spacing and word spacing.

参数

text

The text to measure.

错误/异常

Throws HaruException on error.

参见

HaruPage::measureText()