Fills a rectangle on the Baltie's area.

Namespace:  SGP.Baltie2D
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public void DrawRectangle(
	Brush brush,
	int x,
	int y,
	int w,
	int h
)

Parameters

brush
Type: System.Drawing..::.Brush
Brush that determinates the color, and style of the rectangle.
x
Type: System..::.Int32
The X coordinate of the rectangle upper-left corner.
y
Type: System..::.Int32
The Y coordinate of the rectangle upper-left corner.
w
Type: System..::.Int32
The width of the rectangle.
h
Type: System..::.Int32
The height of the rectangle.

Exceptions

ExceptionCondition
System..::.ArgumentNullException brush is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also