HaruFont::measureTextCalculate the number of characters which can be included within the specified width Beschreibung
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. Parameter-Liste
RückgabewerteReturns the number of characters which can be included within the specified width. Fehler/ExceptionsWirft eine HaruException bei Fehlern. |