Package | Description |
---|---|
com.github.gwtd3.api.ease |
Modifier and Type | Method and Description |
---|---|
static Mode |
Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mode[] |
Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static EasingFunction |
Easing.back(Mode mode,
double s)
Simulates backing into a parking space.
|
static EasingFunction |
Easing.bounce(Mode mode)
Simulates a bouncy collision.
|
static EasingFunction |
Easing.circle(Mode mode)
The quarter circle
|
static EasingFunction |
Easing.cubic(Mode mode)
Equivalent to poly(3).
|
static EasingFunction |
Easing.elastic(Mode mode,
double a,
double p)
Simulates an elastic band; may extend slightly beyond 0 and 1.
|
static EasingFunction |
Easing.exp(Mode mode)
Raises 2 to a power based on t.
|
static EasingFunction |
Easing.linear(Mode mode)
The identity function
|
static EasingFunction |
Easing.poly(Mode mode,
int k)
Raises t to the specified power k (e.g., 3).
|
static EasingFunction |
Easing.quad(Mode mode)
Equivalent to poly(2).
|
static EasingFunction |
Easing.sin(Mode mode)
Applies the trigonometric function sin.
|
Copyright © 2015 gwt-d3. All rights reserved.