HaruPage::getCurrentFont
(PECL haru >= 0.0.1)
HaruPage::getCurrentFont — Get the currently used font
说明
HaruPage::getCurrentFont
( void
) : object
Get the currently used font.
参数
此函数没有参数。
返回值
Returns the currently used font as an instance of HaruFont.
错误/异常
发生错误时抛出 HaruException 异常。