Package com.airbnb.lottie.value
Class LottieInterpolatedFloatValue
- java.lang.Object
-
- com.airbnb.lottie.value.LottieValueCallback<T>
-
- com.airbnb.lottie.value.LottieInterpolatedFloatValue
-
public class LottieInterpolatedFloatValue extends LottieValueCallback<T>
-
-
Field Summary
-
Fields inherited from class com.airbnb.lottie.value.LottieValueCallback
value
-
-
Constructor Summary
Constructors Constructor Description LottieInterpolatedFloatValue(Float startValue, Float endValue)LottieInterpolatedFloatValue(Float startValue, Float endValue, Interpolator interpolator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetValue(LottieFrameInfo<T> frameInfo)Override this if you haven't set a static value in the constructor or with setValue.-
Methods inherited from class com.airbnb.lottie.value.LottieValueCallback
getValueInternal, setAnimation, setValue
-
-
-
-
Constructor Detail
-
LottieInterpolatedFloatValue
public LottieInterpolatedFloatValue(Float startValue, Float endValue, Interpolator interpolator)
-
-
Method Detail
-
getValue
public T getValue(LottieFrameInfo<T> frameInfo)
Description copied from class:LottieValueCallbackOverride this if you haven't set a static value in the constructor or with setValue.Return null to resort to the default value. Refer to the javadoc for this class for a special case that requires manual invalidation each time you want to return something different from this method.
- Overrides:
getValuein classLottieValueCallback<T>
-
-