array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'gmagick.raiseimage.php', 1 => 'Gmagick::raiseimage', ), 'up' => array ( 0 => 'class.gmagick.php', 1 => 'Gmagick', ), 'prev' => array ( 0 => 'gmagick.radialblurimage.php', 1 => 'Gmagick::radialblurimage', ), 'next' => array ( 0 => 'gmagick.read.php', 1 => 'Gmagick::read', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmagick/gmagick/raiseimage.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL gmagick >= Unknown)
Gmagick::raiseimage — Creates a simulated 3d button-like effect
Creates a simulated three-dimensional button-like effect by lightening and darkening the edges of the image. Members width and height of raise_info define the width of the vertical and horizontal edge of the effect.
width
Width of the area to raise.
height
Height of the area to raise.
x
X coordinate.
y
Y coordinate.
raise
A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect.
The Gmagick object.
错误时抛出 GmagickException。