HaruPage::setDash()
(PECL haru >= 0.0.1)
Set the dash pattern for the page
说明
HaruPage::setDash(array $pattern,int $phase): bool
Defines the dash pattern for the page.
参数
- $pattern
An array(8 elements max)which contains a pattern of dashes and gaps used for lines on the page.
- $phase
The phase on which the pattern begins.
返回值
Returns TRUE
on success.
错误/异常
发生错误时抛出HaruException异常。
参见
- HaruPage::getDash() Get the current dash pattern