RitoTextSelection class final

A resolved text range. start and end are anchor and focus in document order; rects cover only the pages the artifact draws.

Constructors

RitoTextSelection({required RitoCaretAddress anchor, required RitoCaretAddress focus, required RitoCaretAddress start, required RitoCaretAddress end, required String selectedText, required String sourceStartHref, required RitoSourcePoint sourceStart, required String sourceEndHref, required RitoSourcePoint sourceEnd, required List<RitoExactSourceRect> rects})

Properties

anchor → RitoCaretAddress
final
end → RitoCaretAddress
final
focus → RitoCaretAddress
final
hashCode → int
The hash code for this object.
no setterinherited
rects → List<RitoExactSourceRect>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedText → String
final
sourceEnd → RitoSourcePoint
final
sourceEndHref → String
final
sourceStart → RitoSourcePoint
final
sourceStartHref → String
Durable source identity of the normalized endpoints. The hrefs differ only for a range that crosses resources.
final
start → RitoCaretAddress
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