public
final
enum
AnimationTimingFunction
extends Enum<AnimationTimingFunction>
java.lang.Object | ||
↳ | java.lang.Enum<com.viro.core.AnimationTimingFunction> | |
↳ | com.viro.core.AnimationTimingFunction |
AnimationTimingFunction defines the pacing of an animation.
Enum values | |
---|---|
AnimationTimingFunction |
Bounce
The animation will begin quickly and overshoot its final position before settling into its final resting place |
AnimationTimingFunction |
EaseIn
The animation will begin slowly and then speed up as it progresses. |
AnimationTimingFunction |
EaseInEaseOut
The animation will begin slowly, accelerate through the middle of its duration, and then slow again before completing. |
AnimationTimingFunction |
EaseOut
The animation will begin quickly and then slow as it progresses. |
AnimationTimingFunction |
Linear
The animation will occur evenly over its duration. |
Public methods | |
---|---|
static
AnimationTimingFunction
|
valueOf(String name)
|
static
final
AnimationTimingFunction[]
|
values()
|
AnimationTimingFunction Bounce
The animation will begin quickly and overshoot its final position before settling into its final resting place
AnimationTimingFunction EaseIn
The animation will begin slowly and then speed up as it progresses.
AnimationTimingFunction EaseInEaseOut
The animation will begin slowly, accelerate through the middle of its duration, and then slow again before completing.
AnimationTimingFunction EaseOut
The animation will begin quickly and then slow as it progresses.
AnimationTimingFunction valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
AnimationTimingFunction |