- PHP 手册
- 函数参考
- 非文本内容的 MIME 输出
- haru
- HaruPage
HaruPage::setRGBStroke
(PECL haru >= 0.0.1)
HaruPage::setRGBStroke — Set stroking color for the page
说明
HaruPage::setRGBStroke ( float$r
, float $g
, float $b
) : bool
Defines stroking color for the page. All values must be between 0 and 1.
参数
-
r
-
-
g
-
-
b
-
返回值
Returns TRUE
on success.
错误/异常
发生错误时抛出 HaruException 异常。
参见
- HaruPage::getRGBStroke() - Get the current stroking color
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/harupage.setrgbstroke.php