public class AnimationEasingHelper extends Object
Constructor and Description |
---|
AnimationEasingHelper() |
Modifier and Type | Method and Description |
---|---|
static double |
circularEaseIn(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a circular ease in algorithm.
|
static double |
circularEaseInOut(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a circular ease in/out algorithm.
|
static double |
circularEaseOut(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a circular ease out algorithm.
|
static double |
cubicEaseIn(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a cubic ease in algorithm.
|
static double |
cubicEaseInOut(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a cubic ease in/out algorithm.
|
static double |
cubicEaseOut(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a cubic ease out algorithm.
|
static double |
exponentialEaseIn(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a exponential ease in algorithm.
|
static double |
exponentialEaseInOut(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a exponential ease in/out algorithm.
|
static double |
exponentialEaseOut(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a exponential ease out algorithm.
|
static double |
linear(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a linear algorithm.
|
static double |
quadraticEaseIn(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a quadratic ease in algorithm.
|
static double |
quadraticEaseInOut(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a quadratic ease in/out algorithm.
|
static double |
quadraticEaseOut(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a quadratic ease out algorithm.
|
static double |
quarticEaseIn(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a quartic ease in algorithm.
|
static double |
quarticEaseInOut(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a quartic ease in/out algorithm.
|
static double |
quarticEaseOut(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a quartic ease out algorithm.
|
static double |
quinticEaseIn(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a quintic ease in algorithm.
|
static double |
quinticEaseInOut(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a quintic ease in/out algorithm.
|
static double |
quinticEaseOut(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a quintic ease out algorithm.
|
static double |
sinusoidalEaseIn(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a sinusoidal ease in algorithm.
|
static double |
sinusoidalEaseInOut(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a sinusoidal ease in/out algorithm.
|
static double |
sinusoidalEaseOut(double currentTime,
double startValue,
double totalValueChange,
double endTime)
Used to calculate a single step of an animation based on a starting value, total value change, current time and ending time using a sinusoidal ease out algorithm.
|
public static double linear(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double quadraticEaseIn(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double quadraticEaseOut(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double quadraticEaseInOut(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double cubicEaseIn(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double cubicEaseOut(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double cubicEaseInOut(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double quarticEaseIn(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double quarticEaseOut(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double quarticEaseInOut(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double quinticEaseIn(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double quinticEaseOut(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double quinticEaseInOut(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double sinusoidalEaseIn(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double sinusoidalEaseOut(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double sinusoidalEaseInOut(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double exponentialEaseIn(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double exponentialEaseOut(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double exponentialEaseInOut(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double circularEaseIn(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double circularEaseOut(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.public static double circularEaseInOut(double currentTime, double startValue, double totalValueChange, double endTime)
currentTime
- the current time or frame.startValue
- the value at the beginning of the animation.totalValueChange
- the value to be applied during the animation.endTime
- the end time or frame.