HaruPage
PHP Manual

HaruPage::getCurrentFont

(PECL haru >= 0.0.1)

HaruPage::getCurrentFontGet the currently used font

说明

object HaruPage::getCurrentFont ( void )

Get the currently used font.

参数

此函数没有参数。

返回值

Returns the currently used font as an instance of HaruFont.

错误/异常

发生错误时抛出 HaruException 异常。


HaruPage
PHP Manual