LinkTapEvent

data class LinkTapEvent(val originalX: Float, val originalY: Float, val documentX: Float, val documentY: Float, val mappedLinkRect: RectF, val link: Link)

Represents a link tap event in a PDF previewer.

Parameters

originalX

The original X coordinate of the touch event in screen coordinates.

originalY

The original Y coordinate of the touch event in screen coordinates.

documentX

The X coordinate of the touch event in document coordinates.

documentY

The Y coordinate of the touch event in document coordinates.

mappedLinkRect

The bounding rectangle of the link, mapped to screen coordinates.

link

The {@link Link} object representing the tapped link.

Constructors

Link copied to clipboard
constructor(originalX: Float, originalY: Float, documentX: Float, documentY: Float, mappedLinkRect: RectF, link: Link)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val link: Link
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard