php8.5
Home/ Manual/ gmagick / gmagick/ Gmagick::raiseimage

Gmagick::raiseimage

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Creates a simulated 3d button-like effect

Description

Gmagick::raiseimage(int $width, int $height, int $x, int $y, bool $raise): Gmagick

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.

Parameters

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.

Return Values

The Gmagick object.

Errors/Exceptions

Throw

Source: reference/gmagick/gmagick/raiseimage.xml · from the official PHP manual (php/doc-en)