TextAlignment enum represents the horizontal text alignment.
| Modifier and Type | Field and Description |
|---|---|
| public static final TextAlignment | CENTER
Represents centered text alignment (ragged left and right). |
| public static final TextAlignment | JUSTIFY
Represents justified text alignment. |
| public static final TextAlignment | LEFT
Represents text alignment to the left (left-justified, ragged right). |
| public static final TextAlignment | RIGHT
Represents text alignment to the right (right-justified, ragged left). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TextAlignment | |
| public static TextAlignment[] |
| CENTER | back to summary |
|---|---|
| public static final TextAlignment CENTER Represents centered text alignment (ragged left and right). | |
| JUSTIFY | back to summary |
|---|---|
| public static final TextAlignment JUSTIFY Represents justified text alignment. | |
| LEFT | back to summary |
|---|---|
| public static final TextAlignment LEFT Represents text alignment to the left (left-justified, ragged right). | |
| RIGHT | back to summary |
|---|---|
| public static final TextAlignment RIGHT Represents text alignment to the right (right-justified, ragged left). | |
| TextAlignment | back to summary |
|---|---|
| private TextAlignment() | |
| valueOf | back to summary |
|---|---|
| public static TextAlignment valueOf(String name) | |
| values | back to summary |
|---|---|
| public static TextAlignment[] values() | |