UITextAlignment Enum

Definition

An enumeration of text alignments.

public enum UITextAlignment
type UITextAlignment = 
Inheritance
UITextAlignment

Fields

Center 1

Text is centered.

Justified 3

Text spreads to the margins.

Left 0

Text is left-aligned.

Natural 4

Alignment is based on the text's script.

Right 2

Text is right-aligned.

Applies to