package com.airbnb.lottie.model.content; import android.graphics.PointF; import com.airbnb.lottie.LottieComposition; import com.airbnb.lottie.LottieDrawable; import com.airbnb.lottie.animation.content.Content; import com.airbnb.lottie.animation.content.RectangleContent; import com.airbnb.lottie.model.animatable.AnimatableFloatValue; import com.airbnb.lottie.model.animatable.AnimatableValue; import com.airbnb.lottie.model.layer.BaseLayer; /* loaded from: classes2.dex */ public class RectangleShape implements ContentModel { private final AnimatableFloatValue cornerRadius; private final boolean hidden; private final String name; private final AnimatableValue position; private final AnimatableValue size; public AnimatableFloatValue getCornerRadius() { return this.cornerRadius; } public String getName() { return this.name; } public AnimatableValue getPosition() { return this.position; } public AnimatableValue getSize() { return this.size; } public boolean isHidden() { return this.hidden; } public RectangleShape(String str, AnimatableValue animatableValue, AnimatableValue animatableValue2, AnimatableFloatValue animatableFloatValue, boolean z) { this.name = str; this.position = animatableValue; this.size = animatableValue2; this.cornerRadius = animatableFloatValue; this.hidden = z; } @Override // com.airbnb.lottie.model.content.ContentModel public Content toContent(LottieDrawable lottieDrawable, LottieComposition lottieComposition, BaseLayer baseLayer) { return new RectangleContent(lottieDrawable, baseLayer, this); } public String toString() { return "RectangleShape{position=" + this.position + ", size=" + this.size + '}'; } }