PHP - Manual: HaruPage::setDash
2024-12-21
(PECL haru >= 0.0.1)
HaruPage::setDash — Set the dash pattern for the page
$pattern
, int $phase
) : boolDefines 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 异常。