PHP 8.1.0 RC 2 available for testing

Gmagick::borderimage

(PECL gmagick >= Unknown)

Gmagick::borderimageSurrounds the image with a border

Descrição

public Gmagick::borderimage(GmagickPixel $color, int $width, int $height): Gmagick

Surrounds the image with a border of the color defined by the bordercolor GmagickPixel object or a color string.

Parâmetros

color

GmagickPixel object or a string containing the border color.

width

Border width.

height

Border height.

Valor Retornado

The Gmagick object with border defined.

Erros

Lança uma exceção GmagickException em erros.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top