Table of Contents

Enum WritingMode

Namespace
Xui.Core.UI
Assembly
Core.dll

Specifies the orientation and flow direction of text and block layout. Affects which axis is considered "block" and "inline".

public enum WritingMode : byte

Fields

HorizontalTB = 1

Horizontal writing mode. Text flows left-to-right, lines stack top-to-bottom.

Inherit = 0

Inherit direction from the parent view.

SidewaysLR = 5

Sideways vertical mode. Lines stack left-to-right, with horizontal glyph orientation.

SidewaysRL = 4

Sideways vertical mode. Lines stack right-to-left, but glyphs are rotated to remain horizontal.

VerticalLR = 3

Vertical writing mode. Lines stack left-to-right, text flows top-to-bottom.

VerticalRL = 2

Vertical writing mode. Lines stack right-to-left, text flows top-to-bottom.