Draws 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(
	Pen pen,
	Brush brush,
	int x,
	int y,
	int w,
	int h
)

Parameters

pen
Type: System.Drawing..::.Pen
A pen Pen used for drawing the rectangle.
brush
Type: System.Drawing..::.Brush
A brush Brush used for filling the rectangle.
x
Type: System..::.Int32
The X coordinate of the upper-left corner.
y
Type: System..::.Int32
The Y coordinate of the upper-left corner.
w
Type: System..::.Int32
The width of the ellipse.
h
Type: System..::.Int32
The height of the ellipse.

See Also