您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

ps_setdash

(PECL ps:1.1.0-1.3.5)

ps_setdash — Sets appearance of a dashed line

说明

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

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