Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
DrawingWindow Class
DrawingWindow Methods
DrawLine Method
DrawLine Method (Double, Double, Double, Double)
DrawLine Method (DrawingVisual, Double, Double, Double, Double)
DrawingWindow
DrawLine Method (DrawingVisual, Double, Double, Double, Double)
Draws a line segment between (
X
0
,
Y
0
) and (
X
1
,
Y
1
).
Namespace:
Algs4Net
Assembly:
Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
void
DrawLine
(
DrawingVisual
v
,
double
x0
,
double
y0
,
double
x1
,
double
y1
)
Parameters
v
Type:
System.Windows.Media
DrawingVisual
The rendered visual
x0
Type:
System
Double
the
X
-coordinate of one endpoint
y0
Type:
System
Double
the
Y
-coordinate of one endpoint
x1
Type:
System
Double
the
X
-coordinate of the other endpoint
y1
Type:
System
Double
the
Y
-coordinate of the other endpoint
See Also
Reference
DrawingWindow Class
DrawLine Overload
Algs4Net Namespace