略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: HaruPage::setTextRenderingMode

2024-12-20

HaruPage::setTextRenderingMode

(PECL haru >= 0.0.1)

HaruPage::setTextRenderingModeSet text rendering mode for the page

说明

HaruPage::setTextRenderingMode ( int $mode ) : bool

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.

官方地址:https://www.php.net/manual/en/harupage.settextrenderingmode.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3