(PECL haru >= 0.0.1)
HaruPage::getTextWidth — Get the width of the text using current fontsize, character spacing and word spacing
$text
) : floatGet the width of the text using current fontsize, character spacing and word spacing
textThe text to measure.
Returns the width of the text using current fontsize, character spacing and word spacing.
Hata durumunda bir HaruException istisnası oluşur.