public enum TextAlignment extends Enum<TextAlignment>
Alignment of text in annotation.
Enum Constant and Description |
---|
Center
Text is centered.
|
Left
Text is aligned to left.
|
Right
Text is aligned to right.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static TextAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextAlignment Left
Text is aligned to left.
public static final TextAlignment Center
Text is centered.
public static final TextAlignment Right
Text is aligned to right.
public static TextAlignment[] values()
for (TextAlignment c : TextAlignment.values()) System.out.println(c);
public static TextAlignment valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
Copyright © 2024 Aspose. All Rights Reserved.