Package-level declarations
Annotation API (with all available annotation types).
Types
Represents a generic annotation in the PDF document.
Handles all annotation related operations on the owning document. Retrieve it with com.pspdfkit.document.PdfDocument.annotationProvider.
Abstract base class for PolygonAnnotation and PolylineAnnotation.
Abstract base-class of all markup annotations: TextMarkupAnnotation and RedactionAnnotation.
Represents a circle on the page.
Represents a free text annotation on the page. The annotation’s text color comes from the color property of Annotation.
Represents a freehand drawing on the page.
Represents a line on the page.
Link type of annotation either carrying an URI or a page destination.
Represents a note (shown as an icon) on the page.
Represents a closed polygon on a page.
Represents a polyline on the page. Polyline is similar to PolygonAnnotation but is not closed and supports LineEndTypes.
Abstract base-class of all shape annotations: LineAnnotation, SquareAnnotation, CircleAnnotation, PolygonAnnotation, PolylineAnnotation. Shape annotations can also be measurement annotations if created using the measurement tools included with the Measurement Tools license component.
Represents an audio file added to a page. Sound annotations can be created from recording audio using the device's microphone or by importing an existing audio file. Sound annotations are stored inside the PDF file itself. On a page, SoundAnnotations are represented by an icon, similar to NoteAnnotations. PSPDFKit will always render sound annotations at a fixed size, centered in the provided boundingBox.
Represents a square rendered on the page.
Represents a stamp or annotationBitmap annotation on the page.
Represents the appearance of a field in interactive forms. For form elements with text, the text color comes from the color property of Annotation. Use formElement to access associated FormElement.