DrawingWindowDrawLine Method (Double, Double, Double, Double) |
Draws a line segment between (X0, Y0) and
(X1, Y1).
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic DrawingVisual DrawLine(
double x0,
double y0,
double x1,
double y1
)
Parameters
- x0
- Type: SystemDouble
the X-coordinate of one endpoint - y0
- Type: SystemDouble
the Y-coordinate of one endpoint - x1
- Type: SystemDouble
the X-coordinate of the other endpoint - y1
- Type: SystemDouble
the Y-coordinate of the other endpoint
Return Value
Type:
DrawingVisualA drawing visual as handle to the drawing
See Also