awayjs-display
Version:
AwayJS displaylist classes
28 lines (27 loc) • 779 B
TypeScript
/**
* The TextFormatAlign class provides values for text alignment in the
* TextFormat class.
*/
declare class TextFormatAlign {
/**
* Constant; centers the text in the text field. Use the syntax
* <code>TextFormatAlign.CENTER</code>.
*/
CENTER: string;
/**
* Constant; justifies text within the text field. Use the syntax
* <code>TextFormatAlign.JUSTIFY</code>.
*/
JUSTIFY: string;
/**
* Constant; aligns text to the left within the text field. Use the syntax
* <code>TextFormatAlign.LEFT</code>.
*/
LEFT: string;
/**
* Constant; aligns text to the right within the text field. Use the syntax
* <code>TextFormatAlign.RIGHT</code>.
*/
RIGHT: string;
}
export default TextFormatAlign;