Enum DWriteTextAlignment
Alignment of paragraph text along the reading direction axis relative to the leading and trailing edge of the layout box.
Namespace: JeremyAnsel.DirectX.DWrite
Assembly: JeremyAnsel.DirectX.DWrite.dll
Syntax
public enum DWriteTextAlignment
Fields
Name | Description |
---|---|
Center | The center of the paragraph text is aligned to the center of the layout box. |
Justified | Align text to the leading side, and also justify text to fill the lines. |
Leading | The leading edge of the paragraph text is aligned to the layout box's leading edge. |
Trailing | The trailing edge of the paragraph text is aligned to the layout box's trailing edge. |