Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<ps_circleps_close>
^PS FunctionsLast updated: Mon, 26 Oct 2026

ps_clip

(PECL ps >= 1.1.0)

ps_clip — Clips drawing to current path

Description

function 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

Returns true on success or false on failure.

See Also


<ps_circleps_close>
^PS FunctionsLast updated: Mon, 26 Oct 2026