Selection


public interface Selection

Known direct subclasses
TextSelection

Represents text content that has been selected


Represents PDF content that has been selected

Summary

Public methods

abstract @NonNull List<@NonNull PdfRect>

The PdfRect bounds of this selection.

Public methods

getBounds

Added in 1.0.0-alpha10
abstract @NonNull List<@NonNull PdfRectgetBounds()

The PdfRect bounds of this selection. May contain multiple PdfRect if this selection spans multiple discrete areas within the PDF. Consider for example any selection spanning multiple pages, or a text selection spanning multiple lines on the same page.