PdfPageGotoLinkContent


public final class PdfPageGotoLinkContent


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 List<@NonNull RectF>

: Bounds which envelop the goto link

final @NonNull PdfPageGotoLinkContent.Destination

: Destination where the goto link is directing

Public constructors

PdfPageGotoLinkContent

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

: Bounds which envelop the goto link

@NonNull PdfPageGotoLinkContent.Destination destination

: Destination where the goto link is directing

Public methods

getBounds

Added in 1.0.0-alpha10
public final @NonNull List<@NonNull RectFgetBounds()

: Bounds which envelop the goto link

getDestination

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

: Destination where the goto link is directing