Package | starling.utils |
Class | public final class Align |
Inheritance | Align Object |
Method | Defined By | ||
---|---|---|---|
isValid(align:String):Boolean [static] Indicates whether the given alignment string is valid. | Align | ||
isValidHorizontal(align:String):Boolean [static] Indicates if the given string is a valid horizontal alignment. | Align | ||
isValidVertical(align:String):Boolean [static] Indicates if the given string is a valid vertical alignment. | Align |
Constant | Defined By | ||
---|---|---|---|
BOTTOM : String = bottom [static] Vertical bottom alignment. | Align | ||
CENTER : String = center [static] Centered alignment. | Align | ||
LEFT : String = left [static] Horizontal left alignment. | Align | ||
RIGHT : String = right [static] Horizontal right alignment. | Align | ||
TOP : String = top [static] Vertical top alignment. | Align |
isValid | () | method |
public static function isValid(align:String):Boolean
Indicates whether the given alignment string is valid.
Parameters
align:String |
Boolean |
isValidHorizontal | () | method |
public static function isValidHorizontal(align:String):Boolean
Indicates if the given string is a valid horizontal alignment.
Parameters
align:String |
Boolean |
isValidVertical | () | method |
public static function isValidVertical(align:String):Boolean
Indicates if the given string is a valid vertical alignment.
Parameters
align:String |
Boolean |
BOTTOM | Constant |
public static const BOTTOM:String = bottom
Vertical bottom alignment.
CENTER | Constant |
public static const CENTER:String = center
Centered alignment.
LEFT | Constant |
public static const LEFT:String = left
Horizontal left alignment.
RIGHT | Constant |
public static const RIGHT:String = right
Horizontal right alignment.
TOP | Constant |
public static const TOP:String = top
Vertical top alignment.