Handbook
Glossary
<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
loc
a pair of integers
dim
a pair of integers
Outputs
rect
a new
rect
Word description
Creates a new rectangle with the specified top-left location and dimensions.
See also
<zero-rect>
,
<extent-rect>
Definition
USING:
kernel
;
IN:
math.rectangles
:
<rect>
( loc dim -- rect )
rect
boa
;
inline