Enum TextAlignment
- Namespace
- SixLabors.Fonts
- Assembly
- SixLabors.Fonts.dll
Text alignment modes.
public enum TextAlignment
Fields
Center = 2Aligns text from the center.
End = 1Aligns text from the right or bottom when the text direction is LeftToRight and from the left or top when the text direction is RightToLeft.
Start = 0Aligns text from the left or top when the text direction is LeftToRight and from the right or bottom when the text direction is RightToLeft.