| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | com.pspdfkit.ui.special_mode.controller.AnnotationTool | |
All currently supported tools when creating annotations.
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AnnotationTool | CAMERA | Creates stamp annotation from camera image. | |||||||||
| AnnotationTool | CIRCLE | Creates circle annotations. | |||||||||
| AnnotationTool | ERASER | Ink eraser. | |||||||||
| AnnotationTool | FREETEXT | Creates free-text annotations. | |||||||||
| AnnotationTool | FREETEXT_CALLOUT | Creates free-text callout annotations. | |||||||||
| AnnotationTool | HIGHLIGHT | Creates highlight text markup annotations. | |||||||||
| AnnotationTool | IMAGE | Creates stamp annotation from user supplied bitmaps. | |||||||||
| AnnotationTool | INK | Creates ink annotations. | |||||||||
| AnnotationTool | LINE | Creates line annotations. | |||||||||
| AnnotationTool | NONE | Indicates that no annotation tool is selected. | |||||||||
| AnnotationTool | NOTE | Creates note annotations. | |||||||||
| AnnotationTool | POLYGON | Creates polygon annotations. | |||||||||
| AnnotationTool | POLYLINE | Creates polyline annotations. | |||||||||
| AnnotationTool | REDACTION | Annotation redaction. | |||||||||
| AnnotationTool | SIGNATURE | Creates ink annotation from user/customer signature. | |||||||||
| AnnotationTool | SQUARE | Creates square annotations. | |||||||||
| AnnotationTool | SQUIGGLY | Creates squiggly text markup annotations. | |||||||||
| AnnotationTool | STAMP | Creates stamp annotations from pre-built stamps. | |||||||||
| AnnotationTool | STRIKEOUT | Creates strikeout text markup annotations. | |||||||||
| AnnotationTool | UNDERLINE | Creates underline text markup annotations. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static AnnotationTool |
fromAnnotationType(AnnotationType annotationType)
Convert
AnnotationType to AnnotationTool. | ||||||||||
| AnnotationType |
toAnnotationType()
Convert to
AnnotationType which creation is handled by this tool. | ||||||||||
| static AnnotationTool | valueOf(String name) | ||||||||||
| final static AnnotationTool[] | values() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
Convert AnnotationType to AnnotationTool.
AnnotationTool that creates annotationType, or NONE if not
supported.
Convert to AnnotationType which creation is handled by this tool.