FILLRECTANGLE x as integer, y as integer, width as integer, height as integer,
cornerDiam as Integer [, penType]
Description
Fills a rectangle border using the specified x and y coordinates, width, and height. CornerDiam is the corner diameter which can be used to create round corners A corner diameter of zero causes square rectangles to be drawn. PenType is optional—if specified, it must be nsbNormal, nsbInverted, nsbGray, or nsbCustom, For more information on nsbCustom, see the Pattern sample.
Example
FillRectangle 10, 15, 30, 40, 5, nsbGray