HaruFont
PHP Manual

HaruFont::getCapHeight

(PECL haru >= 0.0.1)

HaruFont::getCapHeightGet the distance from the baseline of uppercase letters

Description

int HaruFont::getCapHeight ( void )

Get the distance from the baseline of uppercase letters.

Parameters

This function has no parameters.

Return Values

Returns the distance from the baseline of uppercase letters.

Errors/Exceptions

Throws a HaruException on error.


HaruFont
PHP Manual