Skip to content

TextAlignment Enum

Definition

Namespace: Brine2D.Rendering.Text

Horizontal text alignment.

C#
public enum TextAlignment

Fields

Left 0

Align text to the left edge.

Center 1

Center text horizontally.

Right 2

Align text to the right edge.

Justify 3

Justify text \(stretch to fill width\). Not yet implemented.