HaruPage::setTextRenderingMode

(PECL haru >= 0.0.1)
Set text rendering mode for the page
bool HaruPage::setTextRenderingMode ( int $mode )

Defines text rendering mode for the page.

Parameters:
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:

Returns TRUE on success.

Exception:

Throws a HaruException on error.

See also:

HaruPage::getTextRenderingMode() -

doc_php
2016-02-24 16:03:28
Comments
Leave a Comment

Please login to continue.