Algosim documentation: AddBorder

AddBorder

Adds a border to a pixmap.

Syntax

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)

Image 1

See also