| java.lang.Object | ||
| ↳ | com.pspdfkit.annotations.Annotation | |
| ↳ | com.pspdfkit.annotations.UnknownAnnotation | |
Represents an annotation that is currently not recognised and handled by PSPDFKit.
|
[Expand]
Inherited Constants | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pspdfkit.annotations.Annotation
| ||||||||||||||||||||
|
[Expand]
Inherited Fields | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pspdfkit.annotations.Annotation
| ||||||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AnnotationType |
getType()
Gets the annotation type of the annotation.
| ||||||||||
| void |
updateTransformationProperties(RectF newBoundingBox, RectF oldBoundingBox)
Annotations may override this method to transform their properties (i.e.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pspdfkit.annotations.Annotation
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
From class
java.lang.Object
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Gets the annotation type of the annotation.
Annotations may override this method to transform their properties (i.e. points, rects, sizes) whenever the bounding box of the annotation changed.
| newBoundingBox | New bounding box of the annotation (in PDF points). |
|---|---|
| oldBoundingBox | Old bounding box of the annotation (in PDF points). |
