PHP - Manual: HaruPage::setTextRenderingMode
2025-11-01
(PECL haru >= 0.0.1)
HaruPage::setTextRenderingMode — Set text rendering mode for the page
$mode
   ) : boolDefines text rendering mode for the page.
modeMust 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
  官方地址:https://www.php.net/manual/en/harupage.settextrenderingmode.php