DrawRectangle                                                                                    Statement

 

DRAWRECTANGLE xStart as Integer, yStart as Integer, width as Integer, height as Integer, cornerDiam as Integer [, penType]

 

Description

Draws a rectangle border using the specified coordinate, width, and height.

CornerDiam is the corner radius 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, or nsbGray.

 

Example

DrawRectangle 10,10,30,40,0

DrawRectangle 40,50, 10,15,3,nsbInverted