NativeTextSelectionRegion class abstract
A native scene's contribution to a selection shared with its host. Dispose before releasing the host scene. Tokens are stable across refreshes and are invalidated when their actual nested Text instance disappears.
Constructors
Properties
- appearance ↔ SelectionAppearance
-
getter/setter pair
- disposed ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
targets
→ Iterable<
TextSelectionTarget> -
no setter
Methods
-
dispose(
) → void -
hit(
int id, Vec2D point, bool nearest) → TextSelectionHit? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
range(
int id, int start, int end, SelectionAppearance appearance) → void -
readAppearance(
) → SelectionAppearance -
readBounds(
int id) → AABB? -
readSource(
int id) → String -
refreshIds(
) → List< int> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
make(
Artboard artboard) → NativeTextSelectionRegion