HaruFont
PHP Manual

HaruFont::getCapHeight

(PECL haru >= 0.0.1)

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

说明

int HaruFont::getCapHeight ( void )

Get the distance from the baseline of uppercase letters.

参数

此函数没有参数。

返回值

Returns the distance from the baseline of uppercase letters.

错误/异常

发生错误时抛出 HaruException 异常。


HaruFont
PHP Manual