| Package | graphics |
| Class | public class Orientation |
| Inheritance | Orientation Object |
| Method | Defined By | ||
|---|---|---|---|
toString(value:uint):String [static]
Returns the string representation of the specified Align value passed in argument. | Orientation | ||
validate(value:uint):Boolean [static]
Returns true if the passed-in uint argument is a valid Orientation value else returns false. | Orientation | ||
| Constant | Defined By | ||
|---|---|---|---|
| BOTTOM_TO_TOP : uint = 4 [static]
Constant indicating a bottom-to-top layout orientation (4). | Orientation | ||
| LEFT_TO_RIGHT : uint = 1 [static]
Constant indicating a left-to-right layout orientation (1). | Orientation | ||
| LEFT_TO_RIGHT_BOTTOM_TO_TOP : uint = 5 [static]
Constant indicating a left-to-right layout orientation (5). | Orientation | ||
| LEFT_TO_RIGHT_TOP_TO_BOTTOM : uint = 9 [static]
Constant indicating a left-to-right and top-to-bottom layout orientation (9). | Orientation | ||
| NONE : uint = 0 [static]
Constant indicating a none layout orientation, use the default orientation (0). | Orientation | ||
| RIGHT_TO_LEFT : uint = 2 [static]
Constant indicating a right-to-left layout orientation (2). | Orientation | ||
| RIGHT_TO_LEFT_BOTTOM_TO_TOP : uint = 6 [static]
Constant indicating a right-to-left layout orientation (6). | Orientation | ||
| RIGHT_TO_LEFT_TOP_TO_BOTTOM : uint = 10 [static]
Constant indicating a right-to-left and top-to-bottom layout orientation (10). | Orientation | ||
| TOP_TO_BOTTOM : uint = 8 [static]
Constant indicating a bottom-to-top layout orientation (8). | Orientation | ||
| toString | () | method |
public static function toString(value:uint):StringReturns the string representation of the specified Align value passed in argument.
Example :
import graphics.Align ;
trace( Align.toString(Align.LEFT)) ; // "l"
trace( Align.toString(Align.TOP_LEFT)) ; // "tl"
trace( Align.toString(Align.RIGHT_BOTTOM)) ; // "rb"
Parameters
value:uint |
String — the string representation of the specified Align value passed in argument.
|
| validate | () | method |
public static function validate(value:uint):Boolean
Returns true if the passed-in uint argument is a valid Orientation value else returns false.
Parameters
value:uint |
Boolean — true if the passed-in uint argument is a valid Orientation value else returns false.
|
| BOTTOM_TO_TOP | Constant |
public static const BOTTOM_TO_TOP:uint = 4Constant indicating a bottom-to-top layout orientation (4).
| LEFT_TO_RIGHT | Constant |
public static const LEFT_TO_RIGHT:uint = 1Constant indicating a left-to-right layout orientation (1).
| LEFT_TO_RIGHT_BOTTOM_TO_TOP | Constant |
public static const LEFT_TO_RIGHT_BOTTOM_TO_TOP:uint = 5Constant indicating a left-to-right layout orientation (5).
| LEFT_TO_RIGHT_TOP_TO_BOTTOM | Constant |
public static const LEFT_TO_RIGHT_TOP_TO_BOTTOM:uint = 9Constant indicating a left-to-right and top-to-bottom layout orientation (9).
| NONE | Constant |
public static const NONE:uint = 0Constant indicating a none layout orientation, use the default orientation (0).
| RIGHT_TO_LEFT | Constant |
public static const RIGHT_TO_LEFT:uint = 2Constant indicating a right-to-left layout orientation (2).
| RIGHT_TO_LEFT_BOTTOM_TO_TOP | Constant |
public static const RIGHT_TO_LEFT_BOTTOM_TO_TOP:uint = 6Constant indicating a right-to-left layout orientation (6).
| RIGHT_TO_LEFT_TOP_TO_BOTTOM | Constant |
public static const RIGHT_TO_LEFT_TOP_TO_BOTTOM:uint = 10Constant indicating a right-to-left and top-to-bottom layout orientation (10).
| TOP_TO_BOTTOM | Constant |
public static const TOP_TO_BOTTOM:uint = 8Constant indicating a bottom-to-top layout orientation (8).