= Unknown)Gmagick::borderimage — Surrounds the image with a border說明public Gmagick::borderimage(GmagickPixel $color">

Gmagick::borderimage

(PECL gmagick >= Unknown)

Gmagick::borderimageSurrounds the image with a border

說明

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.

參數(shù)

color

GmagickPixel object or a string containing the border color.

width

Border width.

height

Border height.

返回值

The Gmagick object with border defined.

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 GmagickException。