Name
Border( ) — frame the image with a border
Synopsis
$image->Border(geometry=>geometry
, width=>integer
, height=>integer
, color=colorname
)
This method surrounds
the image with a border of color
or with the color
indicated by the bordercolor
attribute, if no color
is explicitly given. After the transformation, the image will be
2*width
pixels wider and
2*height
pixels taller.
Get Programming Web Graphics with Perl and GNU Softwar now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.