©
本文档使用 PHP中文网手册 发布
(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。