Algosim documentation: rectangle

rectangle

Creates a rectangle.

Syntax

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.