Table of Contents

Enum TextDirection

Namespace
Terminal.Gui.Text
Assembly
Terminal.Gui.dll

Text direction enumeration, controls how text is displayed.

public enum TextDirection
Extension Methods

Fields

BottomTop_LeftRight = 5

This is a vertical direction.

        <pre><code class="lang-csharp">O DL LL RE OH W</code></pre>
BottomTop_RightLeft = 7

This is a vertical direction.

        <pre><code class="lang-csharp">D OL LR LO EW H</code></pre>
LeftRight_BottomTop = 4

This is a horizontal direction.

        <pre><code class="lang-csharp">WORLDHELLO</code></pre>
LeftRight_TopBottom = 0

Normal horizontal direction.

        <pre><code class="lang-csharp">HELLOWORLD</code></pre>
RightLeft_BottomTop = 6

This is a horizontal direction.

        <pre><code class="lang-csharp">DLROWOLLEH</code></pre>
RightLeft_TopBottom = 2

This is a horizontal direction.
RTL

        <pre><code class="lang-csharp">OLLEHDLROW</code></pre>
TopBottom_LeftRight = 1

Normal vertical direction.

        <pre><code class="lang-csharp">H WE OL RL LO D</code></pre>
TopBottom_RightLeft = 3

This is a vertical direction.

        <pre><code class="lang-csharp">W HO ER LL LD O</code></pre>

Remarks

TextDirection [H] = Horizontal [V] = Vertical

TextDirection Description
LeftRight_TopBottom [H] Normal
TopBottom_LeftRight [V] Normal
RightLeft_TopBottom [H] Invert Text
TopBottom_RightLeft [V] Invert Lines
LeftRight_BottomTop [H] Invert Lines
BottomTop_LeftRight [V] Invert Text
RightLeft_BottomTop [H] Invert Text + Invert Lines
BottomTop_RightLeft [V] Invert Text + Invert Lines