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

Prev:<rect> ( loc dim -- rect )
Next:rect-intersect ( rect1 rect2 -- newrect )


Vocabulary
math.rectangles

Inputs
loca pair of integers
exta pair of integers


Outputs
recta new rect


Word description
Creates a new rectangle with the specified top-left and bottom-right corner locations.

See also
<zero-rect>, <rect>

Definition