[]
Specifies the alignment of paragraph text along the reading direction axis.
public enum TextAlignment
Center = 2The center of the paragraph text is aligned to the center of the layout box.
Distributed = 4Justifies all text lines regardless of paragraph breaks.
Justified = 3Aligns text to the leading side, and also justifies text to fill the lines.
Leading = 0The leading edge of the paragraph text is aligned to the leading edge of the layout box.
Trailing = 1The trailing edge of the paragraph text is aligned to the trailing edge of the layout box.