PHP Manual
This manual is provided as a courtesy. It is not an official source. Please check php.net for updated information.
(PECL)
Sets the length of the black and white portions of a dashed line. ps_setpolydash() is used to set more complicated dash patterns.
arr is a list of length elements alternately for the black and white portion.
Returns TRUE on success or FALSE on failure.