©
Dieses Dokument verwendet PHP-Handbuch für chinesische Websites Freigeben
(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。