|
PHP5中文手册
HaruFont::measureText(PECL haru:0.0.1) HaruFont::measureText — Calculate the number of characters which can be included within the specified width 说明
int HaruFont::measureText
( string $text
, float $width
, float $font_size
, float $char_space
, float $word_space
[, bool $word_wrap
] )
Returns the number of characters which can be included within the specified width. 参数
错误/异常Throws HaruException on error. |