Draws a line on the Baltie's area.

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

Syntax

C#
public void DrawLine(
	Pen pen,
	int x1,
	int y1,
	int x2,
	int y2
)

Parameters

pen
Type: System.Drawing..::.Pen
Pen that determinates the color, width, and style of the line.
x1
Type: System..::.Int32
The X-coordinate of the first point.
y1
Type: System..::.Int32
The Y-coordinate of the first point.
x2
Type: System..::.Int32
The X-coordinate of the second point.
y2
Type: System..::.Int32
The Y-coordinate of the second point.

Exceptions

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

See Also