[]
Specifies the alignment of paragraph text along the reading direction axis.
public enum TextAlignment
Public Enum TextAlignment
| Name | Description |
|---|---|
| Center | The center of the paragraph text is aligned to the center of the layout box. |
| Distributed | Justifies all text lines regardless of paragraph breaks. |
| Justified | Aligns text to the leading side, and also justifies text to fill the lines. |
| Leading | The leading edge of the paragraph text is aligned to the leading edge of the layout box. |
| Trailing | The trailing edge of the paragraph text is aligned to the trailing edge of the layout box. |