GoLang HaruPage::setFontAndSize

request it (278)
GoLang replacement for PHP's HaruPage::setFontAndSize [edit | history]



Do you know a GoLang replacement for PHP's HaruPage::setFontAndSize? Write it!

PHP HaruPage::setFontAndSize

PHP original manual for HaruPage::setFontAndSize [ show | php.net ]

HaruPage::setFontAndSize

(PECL haru >= 0.0.1)

HaruPage::setFontAndSizeSet font and fontsize for the page

Description

bool HaruPage::setFontAndSize ( object $font , float $size )

Defines current font and its size for the page.

Parameters

font

A valid HaruFont instance.

size

The size of the font.

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws a HaruException on error.

See Also