PdfPageGotoLinkContent


public final class PdfPageGotoLinkContent extends PdfPageContent


Represents the content associated with a goto link on a page in the PDF document. Goto Link is an internal navigation link which directs the user to a different location within the same pdf document

Summary

Nested types

Creates a new instance of PdfPageGotoLinkContent.Destination using the page number, x coordinate, and y coordinate of the destination where goto link is directing, and the zoom factor of the page when goto link takes to the destination

Public constructors

Public methods

final @NonNull PdfPageGotoLinkContent.Destination

: Destination where the goto link is directing.

Inherited methods

From androidx.pdf.content.PdfPageContent
final @NonNull List<@NonNull RectF>

: A list of rectangles defining the content's bounding boxes in PDF coordinates.

Public constructors

PdfPageGotoLinkContent

public PdfPageGotoLinkContent(
    @NonNull List<@NonNull RectF> bounds,
    @NonNull PdfPageGotoLinkContent.Destination destination
)
Parameters
@NonNull List<@NonNull RectF> bounds

: A list of rectangles defining the clickable area of the link.

@NonNull PdfPageGotoLinkContent.Destination destination

: Destination where the goto link is directing.

Public methods

getDestination

Added in 1.0.0-alpha11
public final @NonNull PdfPageGotoLinkContent.Destination getDestination()

: Destination where the goto link is directing.