array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.ps-clip.php', 1 => 'ps_clip', ), 'up' => array ( 0 => 'ref.ps.php', 1 => 'PS 函数', ), 'prev' => array ( 0 => 'function.ps-circle.php', 1 => 'ps_circle', ), 'next' => array ( 0 => 'function.ps-close-image.php', 1 => 'ps_close_image', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ps/functions/ps-clip.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL ps >= 1.1.0)
ps_clip — Clips drawing to current path
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.