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

HaruFont::getUnicodeWidth()

HaruFont::getUnicodeWidth - Get the width of the character in the font

Syntax

int HaruFont::getUnicodeWidth (int $character)

Arguments

  • character - The code of the character.

Description

Get the width of the character in the font.

Version

PHP PECL haru >= 0.0.1

Return value

Returns the width of the character in the font.