Draws a line on the Baltie's area.
Namespace:
SGP.Baltie2DAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
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
Exception | Condition |
---|---|
System..::.ArgumentNullException | pen is nullNothingnullptra null reference (Nothing in Visual Basic). |