ps_setdash
(PECL ps >= 1.1.0)
ps_setdash — Sets appearance of a dashed line
說明
ps_setdash(resource
$psdoc, float $on, float $off): boolSets the length of the black and white portions of a dashed line.
參數
-
psdoc Resource identifier of the postscript file as returned by ps_new().
-
on The length of the dash.
-
off The length of the gap between dashes.
返回值
成功時返回 true, 或者在失敗時返回 false。
參見
- ps_setpolydash() - Sets appearance of a dashed line