AddBorder
Adds a border to a pixmap.
Syntax
-
AddBorder(pm, c, w[, h])
-
pm
is a pixmap -
c
is a colour -
w
andh
are non-negative integers
-
Description
AddBorder(pm, c, w, h)
returns pm
with a surrounding, rectangular, border of colour c
that is w
pixels wide on the right and left side and h
pixels high on the top and bottom side. If omitted, h
defaults to w
.
Examples
AddBorder(ExampleData("harvestman"), "black", 50)