HaruPage::setGrayFill()
(PECL haru >= 0.0.1)
Set filling color for the page
说明
HaruPage::setGrayFill(float $value): bool
Defines filling color for the page.
参数
- $value
The value of gray level between 0 and 1.
返回值
Returns TRUE
on success.
错误/异常
发生错误时抛出HaruException异常。
参见
- HaruPage::getGrayFill() Get the current filling color