GoLang HaruPage::setTextRenderingMode

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



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

PHP HaruPage::setTextRenderingMode

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

HaruPage::setTextRenderingMode

(PECL haru >= 0.0.1)

HaruPage::setTextRenderingModeSet text rendering mode for the page

Description

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

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws a HaruException on error.

See Also