@awayjs/scene
Version:
AwayJS scene classes
33 lines (32 loc) • 1.17 kB
JavaScript
/**
* The TextFieldAutoSize class is an enumeration of constant values used in
* setting the <code>autoSize</code> property of the TextField class.
*/
var TextFieldAutoSize = /** @class */ (function () {
function 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.
*/
TextFieldAutoSize.CENTER = '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.
*/
TextFieldAutoSize.LEFT = 'left';
/**
* Specifies that no resizing is to occur.
*/
TextFieldAutoSize.NONE = '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.
*/
TextFieldAutoSize.RIGHT = 'right';
return TextFieldAutoSize;
}());
export { TextFieldAutoSize };