public final class EasingCurves
extends java.lang.Object
Constructor and Description |
---|
EasingCurves() |
Modifier and Type | Method and Description |
---|---|
static double |
InOutQuadratic(double begin,
double end,
double duration,
double t)
Quadratic InOut Curve.
|
static double |
InQuadratic(double begin,
double end,
double duration,
double t)
Quadratic In Curve.
|
static double |
OutQuadratic(double begin,
double end,
double duration,
double t)
Quadratic Out Curve.
|
public static double InQuadratic(double begin, double end, double duration, double t)
begin
- starting valueend
- ending valueduration
- durationt
- current time (0 <= t < duration)public static double OutQuadratic(double begin, double end, double duration, double t)
begin
- starting valueend
- ending valueduration
- durationt
- current time (0 <= t < duration)public static double InOutQuadratic(double begin, double end, double duration, double t)
begin
- starting valueend
- ending valueduration
- durationt
- current time (0 <= t < duration)