UDocTextRun class
Internal: a run of text on a page.
Constructors
Properties
- blockIndex → int
-
final
-
charRects
→ List<
Rect> -
One rectangle per UTF-16 unit of text, in logical order.
final
- fontName → String?
-
final
- fontSize → double
-
final
-
glyphs
→ List<
UDocGlyph> -
final
- hasCharGeometry → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- lineIndex → int
-
final
- rect → Rect
-
final
- reliable → bool
-
False when glyph widths/positions of this run are not trustworthy.
final
- rtl → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
final
Methods
-
charRect(
int index) → Rect -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
offsetAt(
Offset point) → int -
Nearest logical text offset to
point, or null when the point is outside the run's reach. -
rectsFor(
int start, int end, {UDocTextGeometry geometry = UDocTextGeometry.auto}) → List< Rect> -
toString(
) → String -
A string representation of this object.
inherited
-
usesBox(
UDocTextGeometry geometry) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited