出售域名  LinuxTags


HaruPage::getTextWidth

(PECL haru:0.0.1)

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.


出售域名  LinuxTags