The TextFormatAlign class provides values for text alignment in the TextFormat class.

Variables

@:value(cast "start")@:enum@:implinlineread onlySTART:TextFormatAlign = "start"

@:value(cast "right")@:enum@:implinlineread onlyRIGHT:TextFormatAlign = "right"

Constant; aligns text to the right within the text field. Use the syntax TextFormatAlign.RIGHT.

@:value(cast "left")@:enum@:implinlineread onlyLEFT:TextFormatAlign = "left"

Constant; aligns text to the left within the text field. Use the syntax TextFormatAlign.LEFT.

@:value(cast "justify")@:enum@:implinlineread onlyJUSTIFY:TextFormatAlign = "justify"

Constant; justifies text within the text field. Use the syntax TextFormatAlign.JUSTIFY.

@:value(cast "end")@:enum@:implinlineread onlyEND:TextFormatAlign = "end"

@:value(cast "center")@:enum@:implinlineread onlyCENTER:TextFormatAlign = "center"

Constant; centers the text in the text field. Use the syntax TextFormatAlign.CENTER.

Static variables

@:value(cast "center")@:enum@:implstaticinlineread onlyCENTER:TextFormatAlign = "center"

Constant; centers the text in the text field. Use the syntax TextFormatAlign.CENTER.

@:value(cast "end")@:enum@:implstaticinlineread onlyEND:TextFormatAlign = "end"

@:value(cast "justify")@:enum@:implstaticinlineread onlyJUSTIFY:TextFormatAlign = "justify"

Constant; justifies text within the text field. Use the syntax TextFormatAlign.JUSTIFY.

@:value(cast "left")@:enum@:implstaticinlineread onlyLEFT:TextFormatAlign = "left"

Constant; aligns text to the left within the text field. Use the syntax TextFormatAlign.LEFT.

@:value(cast "right")@:enum@:implstaticinlineread onlyRIGHT:TextFormatAlign = "right"

Constant; aligns text to the right within the text field. Use the syntax TextFormatAlign.RIGHT.

@:value(cast "start")@:enum@:implstaticinlineread onlySTART:TextFormatAlign = "start"