略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Gmagick::raiseimage

2024-12-21

Gmagick::raiseimage

(PECL gmagick >= Unknown)

Gmagick::raiseimageCreates a simulated 3d button-like effect

说明

public 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.

参数

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

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/gmagick.raiseimage.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3