Draws an unfilled 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,
	int x,
	int y,
	int w,
	int h
)

Parameters

pen
Type: System.Drawing..::.Pen
Pen that determinates the color, width, 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 pen is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also