| Package | flash.text |
| Class | public final class TextFormatAlign |
| Inheritance | TextFormatAlign Object |
| Language version: | ActionScript 3.0 |
| Runtime version: |
See also
| Constant | Defined by | ||
|---|---|---|---|
| CENTER : String = "center" [static]
Constant; centers the text in the text field.
| TextFormatAlign | ||
| END : String = "end" [static]
Constant; aligns text to the end edge of a line.
| TextFormatAlign | ||
| JUSTIFY : String = "justify" [static]
Constant; justifies text within the text field.
| TextFormatAlign | ||
| LEFT : String = "left" [static]
Constant; aligns text to the left within the text field.
| TextFormatAlign | ||
| RIGHT : String = "right" [static]
Constant; aligns text to the right within the text field.
| TextFormatAlign | ||
| START : String = "start" [static]
Constant; aligns text to the start edge of a line.
| TextFormatAlign | ||
| CENTER | constant |
public static const CENTER:String = "center"
| Language version: | ActionScript 3.0 |
| Runtime version: |
Constant; centers the text in the text field.
Use the syntax TextFormatAlign.CENTER.
See also
| END | constant |
public static const END:String = "end"
| Language version: | ActionScript 3.0 |
Constant; aligns text to the end edge of a line. Same as right for left-to-right languages and same as left for right-to-left languages.
The END constant may only be used with the StageText class.
See also
| JUSTIFY | constant |
public static const JUSTIFY:String = "justify"
| Language version: | ActionScript 3.0 |
| Runtime version: |
Constant; justifies text within the text field.
Use the syntax TextFormatAlign.JUSTIFY.
See also
| LEFT | constant |
public static const LEFT:String = "left"
| Language version: | ActionScript 3.0 |
| Runtime version: |
Constant; aligns text to the left within the text field.
Use the syntax TextFormatAlign.LEFT.
See also
| RIGHT | constant |
public static const RIGHT:String = "right"
| Language version: | ActionScript 3.0 |
| Runtime version: |
Constant; aligns text to the right within the text field.
Use the syntax TextFormatAlign.RIGHT.
See also
| START | constant |
public static const START:String = "start"
| Language version: | ActionScript 3.0 |
Constant; aligns text to the start edge of a line. Same as left for left-to-right languages and same as right for right-to-left languages.
The START constant may only be used with the StageText class.
See also