Package com.airbnb.lottie.value
Class LottieFrameInfo<T>
- java.lang.Object
-
- com.airbnb.lottie.value.LottieFrameInfo<T>
-
public class LottieFrameInfo<T> extends java.lang.ObjectData class for use withLottieValueCallback. You should *not* hold a reference to the frame info parameter passed to your callback. It will be reused.
-
-
Constructor Summary
Constructors Constructor Description LottieFrameInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetEndFrame()TgetEndValue()floatgetInterpolatedKeyframeProgress()floatgetLinearKeyframeProgress()floatgetOverallProgress()floatgetStartFrame()TgetStartValue()LottieFrameInfo<T>set(float startFrame, float endFrame, T startValue, T endValue, float linearKeyframeProgress, float interpolatedKeyframeProgress, float overallProgress)
-
-
-
Method Detail
-
set
public LottieFrameInfo<T> set(float startFrame, float endFrame, T startValue, T endValue, float linearKeyframeProgress, float interpolatedKeyframeProgress, float overallProgress)
-
getStartFrame
public float getStartFrame()
-
getEndFrame
public float getEndFrame()
-
getStartValue
public T getStartValue()
-
getEndValue
public T getEndValue()
-
getLinearKeyframeProgress
public float getLinearKeyframeProgress()
-
getInterpolatedKeyframeProgress
public float getInterpolatedKeyframeProgress()
-
getOverallProgress
public float getOverallProgress()
-
-