LinkAnnotation

Link type of annotation either carrying an URI or a page destination.

Inheritors

Constructors

Link copied to clipboard
constructor(@NonNull properties: AnnotationPropertyMap, markDirty: Boolean)
constructor(@IntRange(from = 0) pageIndex: Int)
Creates new link annotation.

Functions

Link copied to clipboard
Returns the action set on this annotation.
Link copied to clipboard
Gets the annotation type of the annotation.
Link copied to clipboard
open fun setAction(@Nullable action: Action)
Sets the action to the annotation.
Link copied to clipboard
open fun setFillColor(color: Int)
Note that this property does not affect LinkAnnotations as this type of annotation does not render any appearance.
Link copied to clipboard
open fun updateTransformationProperties(@NonNull newBoundingBox: RectF, @NonNull oldBoundingBox: RectF)
Annotations may override this method to transform their properties (i.e.