rectangle.set

Syntax rectangle.set (top, left, bottom, right)

Params top through right are numeric values representing the four components of a rectangle.

Action Creates a rectangle made up of the four coordinates.

Returns The newly created rectangle

Examples scratchpad.rect = rectangle.set (15, 100, 185, 300);
rectangle.get (scratchpad.rect, @t, @l @b, @r);
msg ("Corners are: " + t +"," + l + " and " + b + "," + r)
» true

Main Window displays "Corners are: 15,100 and 185,300".

Notes This verb is useful for creating rectangle values for an IAC-aware application.

See Also rectangle.get

Discuss