(PECL haru >= 0.0.1)
Get the width of the text using current fontsize, character spacing and word spacing
float HaruPage::getTextWidth ( string $text )
Get the width of the text using current fontsize, character spacing and word spacing
Parameters:
text
The text to measure.
Returns:
Returns the width of the text using current fontsize, character spacing and word spacing.
Exception:
Throws a HaruException on error.
See also:
Please login to continue.