©
Dokumen ini menggunakan Manual laman web PHP Cina Lepaskan
(PECL gmagick >= Unknown)
Gmagick::borderimage — Surrounds the image with a border
$color
, int $width
, int $height
)Surrounds the image with a border of the color defined by the bordercolor GmagickPixel object or a color string.
color
GmagickPixel object or a string containing the border color
width
Border width
height
Border height
The Gmagick object with border defined
错误时抛出 GmagickException。