-
public final class SearchResultRepresents a single search result within a PDF document.
-
-
Field Summary
Fields Modifier and Type Field Description private final Integerpageprivate final IntegermatchIndexprivate final RectFtextRectprivate final StringmatchedText
-
Constructor Summary
Constructors Constructor Description SearchResult(Integer page, Integer matchIndex, RectF textRect, String matchedText)
-
Method Summary
Modifier and Type Method Description final IntegergetPage()final IntegergetMatchIndex()final RectFgetTextRect()final StringgetMatchedText()-
-
Constructor Detail
-
SearchResult
SearchResult(Integer page, Integer matchIndex, RectF textRect, String matchedText)
- Parameters:
page- Page index (0-indexed) where the match was foundmatchIndex- Index of this match within the pagetextRect- Rectangle bounds of the matched text on the page (in page coordinates)matchedText- The actual text that was matched
-
-
Method Detail
-
getMatchIndex
final Integer getMatchIndex()
-
getTextRect
final RectF getTextRect()
-
getMatchedText
final String getMatchedText()
-
-
-
-