Table of Contents

Method AddLine

Namespace
Terminal.Gui.Graphs
Assembly
Terminal.Gui.dll

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

from Point

Starting point.

length int

Length of line. 0 for a dot.
Positive for Down/Right. Negative for Up/Left.

orientation Orientation

Direction of the line.

style BorderStyle

The style of line to use