HaruFont::getTextWidthGet the total width of the text, number of characters, number of words and number of spaces Description
array HaruFont::getTextWidth
( string
$text
)Get the total width of the text, number of characters, number of words and number of spaces. Parameters
Return ValuesReturns the total width of the text, number of characters, number of words and number of spaces in the given text. Errors/ExceptionsThrows a HaruException on error. |