RitoHitEntry class final

Constructors

RitoHitEntry({required int pageIndex, required RitoRect bounds, required String text, String? href, RitoSourcePoint? sourcePoint, String? imageSrc, String? imageAlt, String? footnoteKey, bool footnotePending = false})
const

Properties

bounds RitoRect
Display-list space: the same coordinates RitoArtifact.displayList paints in, spread page offset and page margins included. Hit-test taps on the painted surface directly against this — no host-side margin correction.
final
footnoteKey String?
Canonical footnote key when this hit is a semantic noteref — the engine's own href#fragment form. Pass it to RitoReaderSession.readFootnote verbatim; a host must not normalize the link href itself. Null means an ordinary link.
final
footnotePending bool
True while this key's definition has not been indexed yet. The key is already valid; reading it fails until background indexing reaches the definition, so a host can show the popup with a loading state and retry.
final
hashCode int
The hash code for this object.
no setterinherited
href String?
final
imageAlt String?
final
imageSrc String?
final
pageIndex int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourcePoint RitoSourcePoint?
final
text String
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