FillRectangle

FillRectangle draws a filled rectangle on the destination bitmap. The routine will draw the rectangle onto the screen if you do not specify the destination bitmap to draw on. The colour of a rectangle can be set by passing a colour value.

Pascal
Added in version 1.1:

In version 1.0:

C#
Added in version 1.1:

In version 1.0:

Visual Basic .NET
Added in version 1.1:

In version 1.0:

Visual Basic 6
Added in version 1.1: In version 1.0:

Also See

 * Bitmap
 * DrawRectangle
 * DrawRectangleOnScreen
 * FillRectangleOnScreen