Example usage for Java android.animation Keyframe fields, constructors, methods, implement or subclass
The text is from its open source code.
float | getFraction() Gets the time for this keyframe, as a fraction of the overall animation duration. |
Class | getType() Gets the type of keyframe. |
Object | getValue() Gets the value for this Keyframe. |
boolean | hasValue() Indicates whether this keyframe has a valid value. |
Keyframe | ofFloat(float fraction, float value) Constructs a Keyframe object with the given time and value. |
Keyframe | ofFloat(float fraction) Constructs a Keyframe object with the given time. |
Keyframe | ofInt(float fraction) Constructs a Keyframe object with the given time. |
Keyframe | ofInt(float fraction, int value) Constructs a Keyframe object with the given time and value. |
Keyframe | ofObject(float fraction) Constructs a Keyframe object with the given time. |
void | setFraction(float fraction) Sets the time for this keyframe, as a fraction of the overall animation duration. |
void | setInterpolator(TimeInterpolator interpolator) Sets the optional interpolator for this Keyframe. |