php8.5
Home/ Manual/ ps / functions/ ps_setdash

ps_setdash

PHP function Edit on GitHub ✎

(PECL ps >= 1.1.0)

Sets appearance of a dashed line

Description

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

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

Success

See Also

Source: reference/ps/functions/ps-setdash.xml · from the official PHP manual (php/doc-en)