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:
locthe top-left corner of the rectangle as an x/y pair
dimthe dimensions of the rectangle as a width/height pair

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

Definition


Methods