Generic function
Draws a rectangle at the specified position.
draw-rectangle drawable x1 y1 x2 y2 #key filled? => ()
draw-rectangle* drawable point1 point2 #key filled? => ()
type-union(<sheet>, <medium>).
<boolean>. Default value: #t.
The following arguments are specific to draw-rectangle.
<real>.
<real>.
<real>.
<real>.
The following arguments are specific to draw-rectangle*.
<transform>.
<transform>.
duim-graphics
duim-graphics
Draws a rectangle on drawable with left and right corners at (x1,y1) and (x2,y2), using the current pen. Dashed lines start dashing at the starting point of the first segment.
Note that the specified points could represent either top or bottom corners: only one rectangle is possible between and pair of points.

If filled? is #t then the rectangle will be filled, using the current brush.
The function draw-rectangle* is identical to draw-rectangle, except that it passes composite objects, rather than separate coordinates, in its arguments. You should be aware that using this function may lead to a loss of performance.