Method AddLine
AddLine(Point, int, Orientation, BorderStyle)
Add a new line to the canvas starting at from.
Use positive length for Right and negative for Left
when Orientation is Horizontal.
Use positive length for Down and negative for Up
when Orientation is Vertical.
public void AddLine(Point from, int length, Orientation orientation, BorderStyle style)
Parameters
fromPointStarting point.
lengthintLength of line. 0 for a dot.
Positive for Down/Right. Negative for Up/Left.orientationOrientationDirection of the line.
styleBorderStyleThe style of line to use