rects property

List<PdfRect> rects
final

Bounding rectangles of this match in PDF user-space (origin bottom-left, units in points).

A match that spans a single visual line produces one rect. A match that wraps across multiple visual rows produces one rect per row fragment. Callers should treat all rects as fragments that together cover the full extent of this match.

Uses PdfRect — the same coordinate space as page sizes and annotation bounding boxes throughout this library.

Implementation

final List<PdfRect> rects;