-
public final class TextSelectionRepresents a text selection within a PDF page.
-
-
Method Summary
Modifier and Type Method Description final IntegergetPage()final IntegergetStartChar()final IntegergetEndChar()final StringgetSelectedText()final List<RectF>getBounds()-
-
Constructor Detail
-
TextSelection
TextSelection(Integer page, Integer startChar, Integer endChar, String selectedText, List<RectF> bounds)
- Parameters:
page- Page index (0-indexed)startChar- Start character indexendChar- End character indexselectedText- The selected text contentbounds- List of rectangles bounding the selected text
-
-
Method Detail
-
getStartChar
final Integer getStartChar()
-
getEndChar
final Integer getEndChar()
-
getSelectedText
final String getSelectedText()
-
-
-
-