PECL ps >= 1.2.0
ps_end_pattern - End a pattern
ps_end_pattern( resource$psdoc ): bool
Ends a pattern which was started with ps_begin_pattern. Once a pattern has been ended, it can be used like a color to fill areas.
Resource identifier of the postscript file as returned by ps_new.
Returns true on success or false on failure.