awayjs-display
Version:
AwayJS displaylist classes
32 lines (29 loc) • 1.03 kB
text/typescript
/**
* The TextFieldAutoSize class is an enumeration of constant values used in
* setting the <code>autoSize</code> property of the TextField class.
*/
export class TextFieldAutoSize
{
/**
* Specifies that the text is to be treated as center-justified text. Any
* resizing of a single line of a text field is equally distributed to both
* the right and left sides.
*/
public static CENTER:string = "center";
/**
* Specifies that the text is to be treated as left-justified text, meaning
* that the left side of the text field remains fixed and any resizing of a
* single line is on the right side.
*/
public static LEFT:string = "left";
/**
* Specifies that no resizing is to occur.
*/
public static NONE:string = "none";
/**
* Specifies that the text is to be treated as right-justified text, meaning
* that the right side of the text field remains fixed and any resizing of a
* single line is on the left side.
*/
public static RIGHT:string = "right";
}