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

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

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

Public Methods

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

Public Constants

| Constant | Defined By
--- | --- | ---
|  | CENTER : String = center [static] Centered alignement. | HAlign
|  | LEFT : String = left [static] Left alignment. | HAlign
|  | RIGHT : String = right [static] Right alignment. | HAlign

Method Detail

isValid | () | method

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

Indicates whether the given alignment string is valid.

Parameters

| `hAlign:String`

Returns

| `Boolean`

Constant Detail

CENTER | Constant

`public static const CENTER:String = center`

Centered alignement.

LEFT | Constant |

`public static const LEFT:String = left`

Left alignment.

RIGHT | Constant |

`public static const RIGHT:String = right`

Right alignment.

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