Home > PHP > Function > > HaruFont::measureText()

HaruFont::measureText()

HaruFont::measureText - Calculate the number of characters which can be included within the specified width

Syntax

int HaruFont::measureText ()

Arguments

-

Description

Calculate the number of characters which can be included within the specified width.

Version

PHP PECL haru >= 0.0.1

Return value

Returns the number of characters which can be included within the specified width.