Home > PHP > Function > PS > ps_setpolydash()

ps_setpolydash()

ps_setpolydash - Sets appearance of a dashed line

Syntax

bool ps_setpolydash (resource $psdoc, float $arr)

Arguments

  • psdoc - Resource identifier of the postscript file as returned by ps_new().
  • arr - arr is a list of length elements alternately for the black and white portion.

Description

Sets the length of the black and white portions of a dashed line. ps_setpolydash() is used to set more complicated dash patterns.

Version

PHP PECL ps >= 1.1.0

Return value

Returns TRUE on success or FALSE on failure.