PdfTextMatch class

A search hit on one page: the boxes it covers, one per line.

Available extensions

Constructors

PdfTextMatch({required int page, required int start, required int end, required List<Rect> rects})
A match of text.substring(start, end) on page.
const

Properties

bounds → Rect

Available on PdfTextMatch, provided by the PdfMatchRects extension

The rectangle around all of the match's line rectangles.
no setter
end → int
Offset just past the match's last unit in PdfPageText.text (exclusive).
final
hashCode → int
The hash code for this object.
no setterinherited
page → int
0-based page index.
final
rects → List<Rect>
In page points from the top-left (rotation applied).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → int
Offset of the match's first unit in the page's PdfPageText.text.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited