#set TITLE = "proc rect"
#include top

.SH DESCRIPTION
\fBproc rect\fR may be used to produce a rectangle at a given
location in scale or absolute space.
The rectangle may be filled with color, and can have optional outline,
bevel, or drop shadow.
.LP
This proc was formerly named \fBproc bevelrect\fR.

#include space

.SH EXAMPLE
Gallery 
#set FILE = "../gallery/loglog.htm"
#set TAG = "loglog"
#include link

#include space

.SH MANDATORY ATTRIBUTES
.LP
\fBrectangle\fR \fIx1 y1 x2 y2\fR
.IP
Specify the rectangle.  
X1, y1 is lower left; x2, y2 is upper right.
Values are 
#set FILE = "attributetypes.html#positionunits"
#set TAG = "position units"
#include link
(assumed to be in absolute
space unless followed immediately by \fC(s)\fR which indicates
scaled space).

#include space

.SH OPTIONAL ATTRIBUTES
.LP
\fBcolor\fR 
#set FILE = "color.html"
#set TAG = "color"
#include link
.IP
Rectangle to be filled with this color.  Default is \fCdullyellow\fR.

.LP
\fBoutline\fR
#set FILE = "attributetypes.html#linedetails"
#set TAG = "linedetails"
#include link
.IP
Specifies rectangle outline.  Default is \fCnone\fR.

.LP
\fBbevelsize\fR \fIn\fR
.IP
Width of bevel area, in 
#set FILE = "attributetypes.html#positionunits"
#set TAG = "absolute units."
#include link
Default is \fC0.0\fR (no bevel).

.LP
\fBshadowsize\fR \fIn\fR
.IP
Width of visible drop shadow in absolute units.  
Default is \fC0.0\fR (no drop shadow).


.LP
\fBhibevelcolor\fR 
#set FILE = "color.html"
#set TAG = "color"
#include link
.IP
Color of upper and lefttmost bevels.  Default is \fCgray(0.6)\fR

.LP
\fBlowbevelcolor\fR 
#set FILE = "color.html"
#set TAG = "color"
#include link
.IP
Color of lower and rightmost bevels.  Default is \fCgray(0.8)\fR

.LP
\fBshadowcolor\fR 
#set FILE = "color.html"
#set TAG = "color"
#include link
.IP
Color of drop shadow.  Default is \fCblack\fR.

#include bottom
