HaruPage::getCurrentFont

(PECL haru >= 0.0.1)

HaruPage::getCurrentFontGet the currently used font

Description

HaruPage::getCurrentFont ( void ) : object

Get the currently used font.

Parameters

This function has no parameters.

Return Values

Returns the currently used font as an instance of HaruFont.

Errors/Exceptions

Throws a HaruException on error.