HaruPage::setFlatness
HaruPage::setGrayFill
HaruPage
PHP Manual

# HaruPage::setFontAndSize

(PECL haru >= 0.0.1)

HaruPage::setFontAndSize — Set font and fontsize for the page

### 설명

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

Defines current font and its size for the page.

### 인수

`font`

  A valid HaruFont instance.

`size`

  The size of the font.

### 반환값

Returns `TRUE` on success.

### 오류/예외

오류 시에 HaruException을 던짐.

### 참고

- HaruDoc::getFont - Get HaruFont instance

HaruPage::setFlatness
HaruPage::setGrayFill
HaruPage
PHP Manual