Table of Contents

Enum LineStyle

Namespace
Terminal.Gui.Drawing
Assembly
Terminal.Gui.dll

Defines the style of lines for a LineCanvas.

[JsonConverter(typeof(JsonStringEnumConverter<LineStyle>))]
public enum LineStyle
Extension Methods

Fields

Dashed = 2

The border is drawn using thin line glyphs with dashed (double and triple) straight lines.

Dotted = 3

The border is drawn using thin line glyphs with short dashed (triple and quadruple) straight lines.

Double = 4

The border is drawn using thin double line Glyphs.

Heavy = 5

The border is drawn using heavy line Glyphs.

HeavyDashed = 6

The border is drawn using heavy line glyphs with dashed (double and triple) straight lines.

HeavyDotted = 7

The border is drawn using heavy line glyphs with short dashed (triple and quadruple) straight lines.

None = 0

No border is drawn. When used with AddLine(Point, int, Orientation, LineStyle, Attribute?), LineCanvas does not treat this value specially — the line is stored and participates in intersection resolution, rendering with default (single-line) glyphs. Callers that want eraser semantics should use Exclude(IEnumerable<StraightLine>, Point, int, Orientation) to remove overlapping geometry from the line collection.

Rounded = 8

The border is drawn using thin line glyphs with rounded corners.

RoundedDashed = 9

The border is drawn using thin line glyphs with rounded corners and dashed (double and triple) straight lines.

RoundedDotted = 10

The border is drawn using thin line glyphs with rounded corners and short dashed (triple and quadruple) straight lines.

Single = 1

The border is drawn using thin line Glyphs.