rect
Factor handbook > UI framework > Building user interfaces > Gadget geometry > Rectangles

Next:rect-bounds ( rect -- loc dim )


Vocabulary
math.rectangles

Class description
A rectangle with the following slots:
loc - the top-left corner of the rectangle as an x/y pair
dim - the dimensions of the rectangle as a width/height pair

Rectangles are constructed by calling <rect> and <extent-rect>.

Definition


Methods