public static enum CPDFFreetextAnnotation.Alignment extends java.lang.Enum<CPDFFreetextAnnotation.Alignment>
Enum Constant and Description |
---|
ALIGNMENT_CENTER
Center alignment
|
ALIGNMENT_LEFT
Left alignment
|
ALIGNMENT_RIGHT
Right alignment
|
ALIGNMENT_UNKNOW
Unknown type
|
Modifier and Type | Field and Description |
---|---|
int |
id |
Modifier and Type | Method and Description |
---|---|
static CPDFFreetextAnnotation.Alignment |
valueOf(int id)
Gets enumeration of text alignment according to ID.
|
static CPDFFreetextAnnotation.Alignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CPDFFreetextAnnotation.Alignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPDFFreetextAnnotation.Alignment ALIGNMENT_UNKNOW
public static final CPDFFreetextAnnotation.Alignment ALIGNMENT_LEFT
public static final CPDFFreetextAnnotation.Alignment ALIGNMENT_CENTER
public static final CPDFFreetextAnnotation.Alignment ALIGNMENT_RIGHT
public static CPDFFreetextAnnotation.Alignment[] values()
for (CPDFFreetextAnnotation.Alignment c : CPDFFreetextAnnotation.Alignment.values()) System.out.println(c);
public static CPDFFreetextAnnotation.Alignment valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CPDFFreetextAnnotation.Alignment valueOf(int id)
id
- int value for the text alignment enumeration.