PHP - Manual: HaruPage::getTextRenderingMode
2025-10-31
(PECL haru >= 0.0.1)
HaruPage::getTextRenderingMode — Get the current text rendering mode
Get the current text rendering mode.
此函数没有参数。
Returns the current text rendering mode. The result value is one of the following:
HaruPage::FILL
    HaruPage::STROKE
    HaruPage::FILL_THEN_STROKE
    HaruPage::INVISIBLE
    HaruPage::FILL_CLIPPING
    HaruPage::STROKE_CLIPPING
    HaruPage::FILL_STROKE_CLIPPING
    HaruPage::CLIPPING
    发生错误时抛出 HaruException 异常。
 add a note
 add a note
  官方地址:https://www.php.net/manual/en/harupage.gettextrenderingmode.php