Packagecom.addicted2flash.layout.util
Classpublic final class Alignment

Enumeration of different alignment types.



Public Methods
 MethodDefined by
  
toString(type:int):String
[static] Returns the string representation of the given alignment.
Alignment
Public Constants
 ConstantDefined by
  BOTTOM : int = 0x04
[static] Bottom alignment.
Alignment
  BOTTOM_LEFT : int
[static] Bottom-left alignment
Alignment
  BOTTOM_RIGHT : int
[static] Bottom-right alignment
Alignment
  CENTER : int = 0x10
[static] Center alignment.
Alignment
  LEFT : int = 0x08
[static] Left alignment.
Alignment
  RIGHT : int = 0x02
[static] Right alignment.
Alignment
  TOP : int = 0x01
[static] Top alignment.
Alignment
  TOP_LEFT : int
[static] Top-left alignment
Alignment
  TOP_RIGHT : int
[static] Top-right alignment
Alignment
Method detail
toString()method
public static function toString(type:int):String

Returns the string representation of the given alignment.

Parameters
type:int — type of alignment

Returns
String — the string representation of the given alignment

Throws
— if alignment is not supported
Constant detail
BOTTOMconstant
public static const BOTTOM:int = 0x04

Bottom alignment.

BOTTOM_LEFTconstant 
public static const BOTTOM_LEFT:int

Bottom-left alignment

BOTTOM_RIGHTconstant 
public static const BOTTOM_RIGHT:int

Bottom-right alignment

CENTERconstant 
public static const CENTER:int = 0x10

Center alignment.

LEFTconstant 
public static const LEFT:int = 0x08

Left alignment.

RIGHTconstant 
public static const RIGHT:int = 0x02

Right alignment.

TOPconstant 
public static const TOP:int = 0x01

Top alignment.

TOP_LEFTconstant 
public static const TOP_LEFT:int

Top-left alignment

TOP_RIGHTconstant 
public static const TOP_RIGHT:int

Top-right alignment