HaruFont
PHP Manual

HaruFont::getXHeight

(PECL haru >= 0.0.1)

HaruFont::getXHeightGet the distance from the baseline of lowercase letters

Description

int HaruFont::getXHeight ( void )

Gets the distance from the baseline of lowercase letters.

Parameters

This function has no parameters.

Return Values

Returns the distance from the baseline of lowercase letters.

Errors/Exceptions

Throws a HaruException on error.


HaruFont
PHP Manual