PeachDrawing.Core
PeachDrawing.Core.Canvas
Canvas.DrawLine(Pen, double, double, double, double) Method
Draws a line connecting the two points specified by the coordinate pairs.
public abstract void DrawLine(PeachDrawing.Core.Pen pen, double x1, double y1, double x2, double y2);
Parameters
pen Pen
Pen that determines the color, width, and style of the line.
The x-coordinate of the first point.
The y-coordinate of the first point.
The x-coordinate of the second point.
The y-coordinate of the second point.