HaruPage::setTextRenderingMode

(PECL haru >= 0.0.1)

HaruPage::setTextRenderingModeSet text rendering mode for the page

說明

bool HaruPage::setTextRenderingMode ( int $mode )

Defines text rendering mode for the page.

參數

mode

Must be one of the following values:

  • HaruPage::FILL
  • HaruPage::STROKE
  • HaruPage::FILL_THEN_STROKE
  • HaruPage::INVISIBLE
  • HaruPage::FILL_CLIPPING
  • HaruPage::STROKE_CLIPPING
  • HaruPage::FILL_STROKE_CLIPPING
  • HaruPage::CLIPPING

回傳值

Returns TRUE on success.

錯誤/例外

發生錯誤時拋出 HaruException 異常。

參見

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top