Class SplitDimensionPathKeyframeAnimation
- java.lang.Object
-
- com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation<PointF,PointF>
-
- com.airbnb.lottie.animation.keyframe.SplitDimensionPathKeyframeAnimation
-
public class SplitDimensionPathKeyframeAnimation extends BaseKeyframeAnimation<PointF,PointF>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation
BaseKeyframeAnimation.AnimationListener
-
-
Field Summary
Fields Modifier and Type Field Description protected LottieValueCallback<Float>xValueCallbackprotected LottieValueCallback<Float>yValueCallback-
Fields inherited from class com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation
progress, valueCallback
-
-
Constructor Summary
Constructors Constructor Description SplitDimensionPathKeyframeAnimation(BaseKeyframeAnimation<Float,Float> xAnimation, BaseKeyframeAnimation<Float,Float> yAnimation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PointFgetValue()voidsetProgress(float progress)voidsetXValueCallback(LottieValueCallback<Float> xValueCallback)voidsetYValueCallback(LottieValueCallback<Float> yValueCallback)-
Methods inherited from class com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation
addUpdateListener, getCurrentKeyframe, getInterpolatedCurrentKeyframeProgress, getProgress, getValue, notifyListeners, setIsDiscrete, setValueCallback
-
-
-
-
Field Detail
-
xValueCallback
@Nullable protected LottieValueCallback<Float> xValueCallback
-
yValueCallback
@Nullable protected LottieValueCallback<Float> yValueCallback
-
-
Constructor Detail
-
SplitDimensionPathKeyframeAnimation
public SplitDimensionPathKeyframeAnimation(BaseKeyframeAnimation<Float,Float> xAnimation, BaseKeyframeAnimation<Float,Float> yAnimation)
-
-
Method Detail
-
setXValueCallback
public void setXValueCallback(@Nullable LottieValueCallback<Float> xValueCallback)
-
setYValueCallback
public void setYValueCallback(@Nullable LottieValueCallback<Float> yValueCallback)
-
setProgress
public void setProgress(float progress)
- Overrides:
setProgressin classBaseKeyframeAnimation<PointF,PointF>
-
getValue
public PointF getValue()
- Overrides:
getValuein classBaseKeyframeAnimation<PointF,PointF>
-
-