package com.airbnb.lottie.model.content; import android.graphics.Path; import com.airbnb.lottie.LottieDrawable; import com.airbnb.lottie.animation.content.Content; import com.airbnb.lottie.animation.content.GradientFillContent; import com.airbnb.lottie.model.animatable.AnimatableFloatValue; import com.airbnb.lottie.model.animatable.AnimatableGradientColorValue; import com.airbnb.lottie.model.animatable.AnimatableIntegerValue; import com.airbnb.lottie.model.animatable.AnimatablePointValue; import com.airbnb.lottie.model.layer.BaseLayer; /* loaded from: classes.dex */ public class GradientFill implements ContentModel { private final AnimatablePointValue endPoint; private final Path.FillType fillType; private final AnimatableGradientColorValue gradientColor; private final GradientType gradientType; private final boolean hidden; private final AnimatableFloatValue highlightAngle; private final AnimatableFloatValue highlightLength; private final String name; private final AnimatableIntegerValue opacity; private final AnimatablePointValue startPoint; public GradientFill(String str, GradientType gradientType, Path.FillType fillType, AnimatableGradientColorValue animatableGradientColorValue, AnimatableIntegerValue animatableIntegerValue, AnimatablePointValue animatablePointValue, AnimatablePointValue animatablePointValue2, AnimatableFloatValue animatableFloatValue, AnimatableFloatValue animatableFloatValue2, boolean z) { this.gradientType = gradientType; this.fillType = fillType; this.gradientColor = animatableGradientColorValue; this.opacity = animatableIntegerValue; this.startPoint = animatablePointValue; this.endPoint = animatablePointValue2; this.name = str; this.highlightLength = animatableFloatValue; this.highlightAngle = animatableFloatValue2; this.hidden = z; } @Override // com.airbnb.lottie.model.content.ContentModel public Content toContent(LottieDrawable lottieDrawable, BaseLayer baseLayer) { return new GradientFillContent(lottieDrawable, baseLayer, this); } public boolean isHidden() { return this.hidden; } public AnimatablePointValue getStartPoint() { return this.startPoint; } public AnimatableIntegerValue getOpacity() { return this.opacity; } public String getName() { return this.name; } public GradientType getGradientType() { return this.gradientType; } public AnimatableGradientColorValue getGradientColor() { return this.gradientColor; } public Path.FillType getFillType() { return this.fillType; } public AnimatablePointValue getEndPoint() { return this.endPoint; } }