PHP 8.1.28 Released!

ps_setdash

(PECL ps >= 1.1.0)

ps_setdashSets appearance of a dashed line

说明

ps_setdash(resource $psdoc, float $on, float $off): bool

Sets 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

参见

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top