ps_clip()
ps_clip - Clips drawing to current path
Syntax
bool ps_clip (
resource $psdoc)
Arguments
- psdoc - Resource identifier of the postscript file as returned by ps_new().
Description
Takes the current path and uses it to define the border of a clipping area. Everything drawn outside of that area will not be visible.
Version
PHP PECL ps >= 1.1.0
Return value
Returns TRUE on success or FALSE on failure.