Class LottieFrameInfo<T>


  • public class LottieFrameInfo<T>
    extends Object
    Data class for use with LottieValueCallback. You should *not* hold a reference to the frame info parameter passed to your callback. It will be reused.
    • Constructor Detail

      • LottieFrameInfo

        public LottieFrameInfo()
    • 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()