PdfPageText class
A page's text as PDFium reads it, with each character's box.
Constructors
-
PdfPageText(String text, List<
Rect> boxes, {bool sideways = false}) -
A page's
textand its per-characterboxes;sidewayswhen the page is turned 90 or 270 degrees.const
Properties
-
boxes
→ List<
Rect> -
One box per text unit, in page points from the top-left of the page
as displayed (rotation applied). Empty boxes for generated characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sideways → bool
-
Whether the page is turned 90 or 270 degrees, so lines of text run up
or down the screen rather than across it.
final
- text → String
-
One UTF-16 unit per character PDFium reports (it adds spaces and line
breaks between words and lines).
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