Interface Easing
- All Known Implementing Classes:
Easings
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface representing an interpolation function.
Easing functions specify the rate of change of a parameter over time, allowing for natural-looking animations (acceleration and deceleration).
-
Method Summary
Modifier and TypeMethodDescriptiondoubleapply(double t) Applies the easing transformation to the given input.
-
Method Details
-
apply
double apply(double t) Applies the easing transformation to the given input.- Parameters:
t- The input value, typically normalized between 0.0 and 1.0, representing the percentage of completion.- Returns:
- The transformed value, usually between 0.0 and 1.0 (though some functions like Back or Elastic may exceed these bounds).
-