rectangle
Creates a rectangle.
Syntax
-
rectangle(a, w[, h])-
ais a two-dimensional real vector -
wis a positive real number -
his a positive real number
-
Description
rectangle(a, w, h) creates a rectangle with its top-left corner at a having width w and height h. If omitted, h defaults to w, thus producing a square.
The object is shown in the current diagram and a reference to the object is returned.
The AdjustVisual function can be used to adjust the appearance of the rectangle. See Visual settings for a list of applicable settings.