Table of Contents

Enum TextAlignment

Namespace
SixLabors.Fonts
Assembly
SixLabors.Fonts.dll

Text alignment modes.

public enum TextAlignment

Fields

Center = 2

Aligns text from the center.

End = 1

Aligns 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 = 0

Aligns text from the left or top when the text direction is LeftToRight and from the right or bottom when the text direction is RightToLeft.