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

Variables

inline read onlyCENTER:TextFormatAlign

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

inline read onlyEND:TextFormatAlign

inline read onlyJUSTIFY:TextFormatAlign

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

inline read onlyLEFT:TextFormatAlign

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

inline read onlyRIGHT:TextFormatAlign

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

inline read onlySTART:TextFormatAlign