Enum AnnotationType
-
- All Implemented Interfaces:
public enum AnnotationType
All currently supported annotation types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONE
UNDEFINED
Any annotation whose type couldn't be recognized.
LINK
Links and PSPDFKit multimedia extensions.
HIGHLIGHT
STRIKEOUT
UNDERLINE
SQUIGGLY
FREETEXT
INK
Ink (includes Signatures)
SQUARE
Square can also be a rectangular area measurement
CIRCLE
Circle can also be an elliptical area measurement
LINE
Line can also be a distance measurement
NOTE
STAMP
A stamp can be an image as well.
CARET
RICHMEDIA
Embedded PDF video
SCREEN
Embedded PDF video
WIDGET
Widget (includes PDF Forms)
FILE
FileAttachment
SOUND
POLYGON
Polygon can also be an area measurement
POLYLINE
Polyline can also be a perimeter measurement
POPUP
WATERMARK
TRAPNET
TYPE3D
REDACT
-
Method Summary
Modifier and Type Method Description static Array<AnnotationType>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static AnnotationType
valueOf(String name)
Returns the enum constant of this type with the specified name. -
-
Method Detail
-
values
static Array<AnnotationType> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static AnnotationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
-
-
-