JavaScript Editor Javascript debugger     Website design 

ps_setdash

Sets appearance of a dashed line (PECL ps:1.1.0-1.3.5)
bool ps_setdash ( resource psdoc, float on, float off )

Sets the length of the black and white portions of a dashed line.

Parameters

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.

Return Values

Returns TRUE on success or FALSE on failure.