UDocTextGeometry enum
How text ranges are turned into rectangles.
precise uses per-character geometry, box always covers the whole text run (the pdfrx approach for fonts whose glyph metrics are broken), and auto is precise wherever the run's geometry looks trustworthy and falls back to the whole box otherwise. Persian/Arabic PDFs often ship fonts without usable widths, which is exactly what auto guards against.
Values
- auto → const UDocTextGeometry
- precise → const UDocTextGeometry
- box → const UDocTextGeometry
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
UDocTextGeometry> - A constant List of the values in this enum, in order of their declaration.