AbstractCreates an instance of WebaniInterpolatedAnimation.
Configuration options for the animation.
Whether the animation plays in reverse.
Duration of the animation in milliseconds.
The interpolation function used for the animation.
Getter for the unresolved after state of the object.
Getter for the unresolved before state of the object.
Determines whether the animation is complete based on the current time t.
The time or progress of the animation.
true if the animation is complete, false otherwise.
Calculates and returns the transformed object at the current frame of the animation.
The time or progress of the animation, typically between 0 and 1.
The current state of the animated object.
Interpolates the progress of the animation based on the time t.
The time or progress of the animation, typically between 0 and 1.
A normalized value between 0 and 1 representing the progress of the animation.
AbstractresolveResolves the animation-specific state. This is where the specifics of the interpolation or transformation logic are defined. This method must be implemented by subclasses.
Resolves the transforms of the before and after objects to ensure they have the same number of extra transforms.
This function ensures that the animation has a consistent structure when resolving the transforms.
StaticcubicCubic interpolation function.
The start value.
The end value.
The progress of the interpolation.
The interpolated value with cubic easing.
StaticeaseEase-in-out interpolation function.
The start value.
The end value.
The progress of the interpolation.
The interpolated value with ease-in-out easing.
StaticlerpLinear interpolation function.
The start value.
The end value.
The progress of the interpolation.
The interpolated value.
A class that represents an interpolated animation between two
WebaniTransformableobjects. The animation smoothly transitions from abeforestate to anafterstate. Subclasses must implement thesetFrameandresolveAnimationmethods.