enum flash.text.TextFormatAlign

Available on all platforms

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

Constructors

CENTER

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

JUSTIFY

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

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.