Php/docs/function.ps-closepath
From Get docs
ps_closepath
(PECL ps >= 1.1.0)
ps_closepath — Closes path
Description
ps_closepath
( resource $psdoc
) : bool
Connects the last point with the first point of a path. The resulting path can be used for stroking, filling, clipping, etc..
Return Values
Returns TRUE
on success or FALSE
on failure.