LinkAnnotation

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

Inheritors

Constructors

Link copied to clipboard
constructor(@IntRange(from = 0) pageIndex: Int)

Creates new link annotation. LinkAnnotations do not render any appearance. They are created only as interactive, transparent bounding boxes.

Properties

Link copied to clipboard
open override var action: Action?

The action set on this annotation. Action to be performed once this annotation is tapped, or null to remove the action.

Link copied to clipboard
open override var fillColor: Int

Note that this property does not affect LinkAnnotations as this type of annotation does not render any appearance. They are created only as interactive, transparent bounding boxes.

Link copied to clipboard
open override val type: AnnotationType

Gets the annotation type of the annotation.

Functions

Link copied to clipboard
open override fun updateTransformationProperties(newBoundingBox: RectF, oldBoundingBox: RectF)

Annotations may override this method to transform their properties (i.e. points, rects, sizes) whenever the bounding box of the annotation changed.