enum openfl.text.TextFormatAlign

Available on all platforms

The TextFormatAlign class provides values for text alignment in the TextFormat class.

Constructors

LEFT

Constant; aligns text to the left within the text field. Use the syntax TextFormatAlign.LEFT.

RIGHT

Constant; aligns text to the right within the text field. Use the syntax TextFormatAlign.RIGHT.

JUSTIFY

Constant; justifies text within the text field. Use the syntax TextFormatAlign.JUSTIFY.

CENTER

Constant; centers the text in the text field. Use the syntax TextFormatAlign.CENTER.