Class Interval
java.lang.Object
javafx.animation.Interpolator
io.github.palexdev.mfxeffects.animations.base.Curve
io.github.palexdev.mfxeffects.animations.motion.Interval
A curve that is 0.0
until begin
, then curved (according to the given Curve
) from
0.0
at begin
to 1.0
at end
then remains 1.0
past end
.
An Interval
can be used to delay an animation.
For example, a six-second animation that uses an Interval
with its begin
set to 0.5 and its end
set to 1.0 will essentially become a three-second animation that starts three seconds later.
-
Nested Class Summary
Nested classes/interfaces inherited from class javafx.animation.Interpolator
javafx.animation.Interpolator.StepPosition
-
Field Summary
Fields inherited from class javafx.animation.Interpolator
DISCRETE, EASE_BOTH, EASE_IN, EASE_OUT, LINEAR, STEP_END, STEP_START
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javafx.animation.Interpolator
interpolate, interpolate, interpolate, interpolate, interpolate, SPLINE, STEPS, TANGENT, TANGENT
-
Constructor Details
-
Interval
public Interval(double begin, double end) -
Interval
-
-
Method Details
-
curve
-