Shaped interaction geometry, relative to one resolved visual line. Implementations may retain platform resources; the document never does.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
visualCaretPositions
→ List<
DiagramTextPosition> -
Grapheme-boundary positions in visual left-to-right order for this line.
Equal visual locations may represent distinct logical positions.
no setter
Methods
-
caretOffset(
int offset) → DiagramPoint -
caretPosition(
DiagramTextPosition position) → DiagramPoint - Resolves an exact line-local UTF-16 position, including boundary affinity.
-
hitOffset(
DiagramPoint point) → int -
hitPosition(
DiagramPoint point) → DiagramTextPosition -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
selectionBoxes(
int start, int end) → List< DiagramRect> -
toString(
) → String -
A string representation of this object.
inherited
-
wordBoundary(
int offset) → (int, int) -
wordBoundaryAt(
DiagramPoint point) → (int, int) - Word containing the shaped glyph at a line-local point.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited