Java android.animation Keyframe fields, constructors, methods, implement or subclass

Example usage for Java android.animation Keyframe fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.animation Keyframe.

The text is from its open source code.

Method

floatgetFraction()
Gets the time for this keyframe, as a fraction of the overall animation duration.
ClassgetType()
Gets the type of keyframe.
ObjectgetValue()
Gets the value for this Keyframe.
booleanhasValue()
Indicates whether this keyframe has a valid value.
KeyframeofFloat(float fraction, float value)
Constructs a Keyframe object with the given time and value.
KeyframeofFloat(float fraction)
Constructs a Keyframe object with the given time.
KeyframeofInt(float fraction)
Constructs a Keyframe object with the given time.
KeyframeofInt(float fraction, int value)
Constructs a Keyframe object with the given time and value.
KeyframeofObject(float fraction)
Constructs a Keyframe object with the given time.
voidsetFraction(float fraction)
Sets the time for this keyframe, as a fraction of the overall animation duration.
voidsetInterpolator(TimeInterpolator interpolator)
Sets the optional interpolator for this Keyframe.