|
PHP5中文手册
ps_setpolydash(PECL ps:1.1.0-1.3.5) ps_setpolydash — Sets appearance of a dashed line 说明
bool ps_setpolydash
( resource $psdoc
, float $arr
)
Sets the length of the black and white portions of a dashed line. ps_setpolydash() is used to set more complicated dash patterns. 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例
Example#1 Drawing a dashed line
<?php This example draws a line with a 10 and 2 points long line, and gaps of 5 points inbetween. |