Table of Contents

Constructor StraightLine

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

StraightLine(Point, int, Orientation, LineStyle, Attribute?)

Creates a new instance of the StraightLine class.

public StraightLine(Point start, int length, Orientation orientation, LineStyle style, Attribute? attribute = null)

Parameters

start Point

The start location.

length int

The length of the line.

orientation Orientation

The orientation of the line.

style LineStyle

The line style.

attribute Attribute?

The attribute to be used for rendering the line.