update : 2015.11.03
php.shukuma.com검색:
|
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을 던짐. |