Defines values for setting the textAlign and textAlignLast properties
of the TextLayoutFormat class. The values describe the alignment of lines in the paragraph relative to the
container.
[static] Specifies start edge alignment - text is aligned to match the writing order.
TextAlign
Constant Detail
CENTER
Constant
public static const CENTER:String = center
Language Version :
ActionScript 3.0
Runtime Versions :
Flash Player 10, AIR 1.5
Specifies center alignment within the container.
END
Constant
public static const END:String = end
Language Version :
ActionScript 3.0
Runtime Versions :
Flash Player 10, AIR 1.5
Specifies end edge alignment - text is aligned opposite from the writing order. Equivalent to
specifying right in left-to-right text, or left in right-to-left text.
JUSTIFY
Constant
public static const JUSTIFY:String = justify
Language Version :
ActionScript 3.0
Runtime Versions :
Flash Player 10, AIR 1.5
Specifies that text is justified within the lines so they fill the container space.
LEFT
Constant
public static const LEFT:String = left
Language Version :
ActionScript 3.0
Runtime Versions :
Flash Player 10, AIR 1.5
Specifies left edge alignment.
RIGHT
Constant
public static const RIGHT:String = right
Language Version :
ActionScript 3.0
Runtime Versions :
Flash Player 10, AIR 1.5
Specifies right edge alignment.
START
Constant
public static const START:String = start
Language Version :
ActionScript 3.0
Runtime Versions :
Flash Player 10, AIR 1.5
Specifies start edge alignment - text is aligned to match the writing order. Equivalent to setting
left in left-to-right text, or right in right-to-left text.