PHP » GoLang |
login |
register |
about
|
GoLang HaruPage::measureText
request it (347)
GoLang replacement for PHP's HaruPage::measureText
[edit | history]
HaruPage::measureText(PECL haru >= 0.0.1) HaruPage::measureText — Calculate the byte length of characters which can be included on one line of the specified width Description
int HaruPage::measureText
( string
$text
, float $width
[, bool $wordwrap = FALSE
] )Get the byte length of characters which can be included on one line of the specified width. Parameters
Return ValuesReturns the byte length of characters which can be included within the specified width. For single-byte encodings, this is equal to the number of characters. For multi-byte encodings, this is not necessarily the case. Errors/ExceptionsThrows a HaruException on error. See Also
|
more
Recently updated
more
Most requested
more
Last requests
|