Class PointKeyframeAnimation
- java.lang.Object
-
- com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation<T,T>
-
- com.airbnb.lottie.animation.keyframe.PointKeyframeAnimation
-
public class PointKeyframeAnimation extends BaseKeyframeAnimation<T,T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation
BaseKeyframeAnimation.AnimationListener
-
-
Field Summary
-
Fields inherited from class com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation
progress, valueCallback
-
-
Constructor Summary
Constructors Constructor Description PointKeyframeAnimation(List<Keyframe<PointF>> keyframes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PointFgetValue(Keyframe<PointF> keyframe, float keyframeProgress)protected PointFgetValue(Keyframe<PointF> keyframe, float linearKeyframeProgress, float xKeyframeProgress, float yKeyframeProgress)Similar toBaseKeyframeAnimation.getValue(Keyframe, float)but used when an animation has separate interpolators for the X and Y axis.-
Methods inherited from class com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation
addUpdateListener, getCurrentKeyframe, getInterpolatedCurrentKeyframeProgress, getProgress, getValue, notifyListeners, setIsDiscrete, setProgress, setValueCallback
-
-
-
-
Method Detail
-
getValue
protected PointF getValue(Keyframe<PointF> keyframe, float linearKeyframeProgress, float xKeyframeProgress, float yKeyframeProgress)
Description copied from class:BaseKeyframeAnimationSimilar toBaseKeyframeAnimation.getValue(Keyframe, float)but used when an animation has separate interpolators for the X and Y axis.- Overrides:
getValuein classBaseKeyframeAnimation<PointF,PointF>
-
-