Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
Direction

Package | flashx.textLayout.formats
Class | public final class Direction
Inheritance | Direction Object

Language Version : | ActionScript 3.0

Runtime Versions : | Flash Player 10, AIR 1.5

Defines values for setting the `direction` property of the `TextLayoutFormat` class. Left-to-right reading order is used in Latin-style scripts. Right-to-left reading order is used with scripts such as Arabic or Hebrew.

See also

TextLayoutFormat.direction

Public Constants

| Constant | Defined By
--- | --- | ---
|  | LTR : String = ltr [static] Specifies left-to-right direction for text. | Direction
|  | RTL : String = rtl [static] Specifies right-to-left direction for text. | Direction

Constant Detail

LTR | Constant

`public static const LTR:String = ltr`

Language Version : | ActionScript 3.0

Runtime Versions : | Flash Player 10, AIR 1.5

Specifies left-to-right direction for text.

RTL | Constant |

`public static const RTL:String = rtl`

Language Version : | ActionScript 3.0

Runtime Versions : | Flash Player 10, AIR 1.5

Specifies right-to-left direction for text.

Sun Mar 5 2017, 03:42 PM +11:00