public static enum CPDFStampAnnotation.TextStampShape extends java.lang.Enum<CPDFStampAnnotation.TextStampShape>
Enum Constant and Description |
---|
TEXTSTAMP_LEFT_TRIANGLE
Left arrow
|
TEXTSTAMP_NONE
None
|
TEXTSTAMP_RECT
Square
|
TEXTSTAMP_RIGHT_TRIANGLE
Right arrow
|
Modifier and Type | Field and Description |
---|---|
int |
id |
Modifier and Type | Method and Description |
---|---|
static CPDFStampAnnotation.TextStampShape |
valueOf(int id)
Gets border style enumeration of text stamp according to id value.
|
static CPDFStampAnnotation.TextStampShape |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CPDFStampAnnotation.TextStampShape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPDFStampAnnotation.TextStampShape TEXTSTAMP_RECT
public static final CPDFStampAnnotation.TextStampShape TEXTSTAMP_LEFT_TRIANGLE
public static final CPDFStampAnnotation.TextStampShape TEXTSTAMP_RIGHT_TRIANGLE
public static final CPDFStampAnnotation.TextStampShape TEXTSTAMP_NONE
public static CPDFStampAnnotation.TextStampShape[] values()
for (CPDFStampAnnotation.TextStampShape c : CPDFStampAnnotation.TextStampShape.values()) System.out.println(c);
public static CPDFStampAnnotation.TextStampShape 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 CPDFStampAnnotation.TextStampShape valueOf(int id)
id
- The relative int value of border style enumeration of text stamp.