CADability dotNET
Paint a 2D line in the pixel coordinates system of the display. Usually used for background painting.

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
void Line2D(
	int sx,
	int sy,
	int ex,
	int ey
)
Visual Basic
Sub Line2D ( _
	sx As Integer, _
	sy As Integer, _
	ex As Integer, _
	ey As Integer _
)
Visual C++
void Line2D(
	int sx, 
	int sy, 
	int ex, 
	int ey
)

Parameters

sx
Type: System..::..Int32
Start x-coordinate
sy
Type: System..::..Int32
Start y-coordinate
ex
Type: System..::..Int32
End x-coordinate
ey
Type: System..::..Int32
End y-coordinate

See Also