|
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 = false
] )
Calculate the number of characters which can be included within the specified width. Список параметров
Возвращаемые значенияReturns the number of characters which can be included within the specified width. ОшибкиВызывает исключение HaruException при ошибке. |
|