GODPAPER | All Packages | All Classes | Index | Frames No Frames |
VAlign

Package | starling.utils
Class | public final class VAlign
Inheritance | VAlign Object

A class that provides constant values for vertical alignment of objects.

Public Methods

| Method | Defined By
--- | --- | ---
|  | isValid(vAlign:String):Boolean [static] Indicates whether the given alignment string is valid. | VAlign

Public Constants

| Constant | Defined By
--- | --- | ---
|  | BOTTOM : String = bottom [static] Bottom alignment. | VAlign
|  | CENTER : String = center [static] Centered alignment. | VAlign
|  | TOP : String = top [static] Top alignment. | VAlign

Method Detail

isValid | () | method

`public static function isValid(vAlign:String):Boolean`

Indicates whether the given alignment string is valid.

Parameters

| `vAlign:String`

Returns

| `Boolean`

Constant Detail

BOTTOM | Constant

`public static const BOTTOM:String = bottom`

Bottom alignment.

CENTER | Constant |

`public static const CENTER:String = center`

Centered alignment.

TOP | Constant |

`public static const TOP:String = top`

Top alignment.

Thu Jan 16 2014, 01:11 PM +08:00