HaruPage::getTextWidth()
HaruPage::getTextWidth - Get the width of the text using current fontsize, character spacing and word spacing
Syntax
float HaruPage::getTextWidth (
string $text)
Arguments
- text - The text to measure.
Description
Get the width of the text using current fontsize, character spacing and word spacing
Version
PHP PECL haru >= 0.0.1
Return value
Returns the width of the text using current fontsize, character spacing and word spacing.