Enum Class AnimationUtils.EasingType
- All Implemented Interfaces:
Serializable, Comparable<AnimationUtils.EasingType>, Constable
- Enclosing class:
AnimationUtils
Easing function selector.
- Since:
- 2025-06-01
- Version:
- 1.0.0
- Author:
- Arber Gashi
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCubic ease-in-out (default).Exponential ease-in-out.Quadratic ease-in-out.Sine ease-in-out.Linear. -
Method Summary
Modifier and TypeMethodDescriptiondoubleapply(double fraction) static AnimationUtils.EasingTypeReturns the enum constant of this class with the specified name.static AnimationUtils.EasingType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LINEAR
Linear. -
EASE_IN_OUT_CUBIC
Cubic ease-in-out (default). -
EASE_IN_OUT_QUAD
Quadratic ease-in-out. -
EASE_IN_OUT_EXPO
Exponential ease-in-out. -
EASE_IN_OUT_SINE
Sine ease-in-out.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
apply
public double apply(double fraction)
-