blob: 66cc706868f5d425ad386cb0ca71917bdadfafc4 [file] [log] [blame]
package com.airbnb.lottie.model.animatable;
import com.airbnb.lottie.animation.Keyframe;
import com.airbnb.lottie.animation.keyframe.BaseKeyframeAnimation;
import com.airbnb.lottie.animation.keyframe.GradientColorKeyframeAnimation;
import com.airbnb.lottie.model.content.GradientColor;
import java.util.List;
public class AnimatableGradientColorValue extends BaseAnimatableValue<GradientColor,
GradientColor> {
public AnimatableGradientColorValue(
List<Keyframe<GradientColor>> keyframes) {
super(keyframes);
}
@Override public BaseKeyframeAnimation<GradientColor, GradientColor> createAnimation() {
return new GradientColorKeyframeAnimation(keyframes);
}
}