(PECL ps >= 1.1.0)
ps_closepath — Closes path
$psdoc
Connects the last point with the first point of a path. The resulting path can be used for stroking, filling, clipping, etc..
psdoc
Resource identifier of the postscript file as returned by ps_new().
成功时返回 TRUE, 或者在失败时返回 FALSE。
TRUE
FALSE