PointerArgs class
The cursor, as a scene node — placed in the same node as the screen, so a camera moving one moves both.
Its args are the cursor's look, so an edit that knows what the finger is
drawn over picks the pair of colours that survives it, and a motion track
on args.size or args.ink changes it mid-reel like any other arg. What
the args do not carry is the pointer's position or whether it is a
fingertip or an arrow: where the finger is comes from the run, and what a
device is touched with is the device's fact, not the reel's.
- Inheritance
-
- Object
- SceneNodeArgs
- SceneExtArgs
- PointerArgs
Constructors
- PointerArgs({SceneColor? ink, SceneColor? paper, double size = 1, bool ripple = true})
-
const
Properties
- entry → String
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- ink → SceneColor?
-
The dark mark, or null for the film's own.
final
- look → CursorLook
-
The look these args describe.
no setter
- paper → SceneColor?
-
The light mark, or null for the film's own.
final
- ripple → bool
-
Whether a press sends a ring out.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → double
-
A multiplier on every dimension of the cursor.
final
Methods
-
build(
) → Object -
The widget, built through the declaration this class was generated
from. A node can therefore draw itself, which is why a shipped app
hands the view nothing.
override
-
merge(
SceneArgs fx) → PointerArgs -
This, with
fxon top — how an animated frame is built. Every generated override narrows the return to its own type, so the whole render path stays typed.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited