# Rectangles

Provides a rectangle structure that helps with operations on them.

## API

Fields:

x
y
width
height

newrect ( x y width height -- rect )
  Allocate a new rectangle with specified values.

topleft ( rect -- x y )
  Top-left point of the rectangle.

bottomright ( rect -- x y )
  Bottom-right point of the rectangle.

moverect ( x y rect -- )
  Move "rect"'s top-left point to "x,y".

resize ( width height rect -- )
  Resize "rect" to "width,height".
