php8.5
Home/ Manual/ ps / functions/ ps_clip

ps_clip

PHP function Edit on GitHub ✎

(PECL ps >= 1.1.0)

Clips drawing to current path

Description

ps_clip(resource $psdoc): bool

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.

Parameters

psdoc

Resource identifier of the postscript file as returned by ps_new().

Return Values

Success

See Also

Source: reference/ps/functions/ps-clip.xml · from the official PHP manual (php/doc-en)