<rect> ( loc dim -- rect )
Factor handbook > UI framework > Building user interfaces > Gadget geometry > Rectangles

Prev:<zero-rect> ( -- rect )
Next:<extent-rect> ( loc ext -- rect )


Vocabulary
math.rectangles

Inputs and outputs
loca pair of integers
dima pair of integers
recta new rect


Word description
Creates a new rectangle with the specified top-left location and dimensions.

See also
<zero-rect>, <extent-rect>

Definition