Keyframe<T> class
abstract
An abstract interface for keyframes in timeline animations.
A keyframe defines how to compute a value at a specific point in a timeline animation. Different implementations provide different interpolation strategies (absolute, relative, or static).
Type Parameters
T- The type of value this keyframe produces.
Overview
Use Keyframe implementations like AbsoluteKeyframe, RelativeKeyframe, or StillKeyframe to build complex timeline animations with TimelineAnimation.
See also:
- AbsoluteKeyframe - Animates between explicit start and end values.
- RelativeKeyframe - Animates from the previous keyframe's end value.
- StillKeyframe - Holds a value without animating.
- Implementers
Constructors
- Keyframe()
Properties
Methods
-
compute(
TimelineAnimation< T> timeline, int index, double t) → T - Computes the value for this keyframe at the given progress.
-
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