HaruPage::setRGBFill()
(PECL haru >= 0.0.1)
Set filling color for the page
说明
HaruPage::setRGBFill(float $r,float $g,float $b): bool
Defines filling color for the page. All values must be between 0 and 1.
参数
- $r
- $g
- $b
返回值
Returns TRUE
on success.
错误/异常
发生错误时抛出HaruException异常。
参见
- HaruPage::getRGBFill() Get the current filling color