TextAlign
Description
Text alignment flags used by the Graphics class.
You may combine flags with the bitwise OR operator to specify vertical and horizontal alignment, ie, LEFT | TOP.
API overview
Constructor
TextAlign
()
Attributes
Public attributes
| BASELINE: TextAlign |
static
Default, align text vertically to baseline |
| BOTTOM: TextAlign |
static
Align text vertically to bottom |
| CENTER: TextAlign |
static
Align text horizontally to center |
| LEFT: TextAlign |
static
Default, align text horizontally to left |
| MIDDLE: TextAlign |
static
Align text vertically to middle |
| RIGHT: TextAlign |
static
Align text horizontally to right |
| TOP: TextAlign |
static
Align text vertically to top |
Constructor
TextAlign ()
Attributes
Functions
getFullTypeName
(): String
Inherited from Object
native
Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.
Returns
| String | fully qualified type name of the Object. |
getType
(): Type
Inherited from Object
native
Gets the Type that describes the Object.
Returns
| Type | The Type that describes the object. |