package com.airbnb.lottie.model.content; import android.graphics.PointF; import com.airbnb.deeplinkdispatch.UrlTreeKt; 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: classes.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 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, BaseLayer baseLayer) { return new RectangleContent(lottieDrawable, baseLayer, this); } public String toString() { StringBuilder sb = new StringBuilder("RectangleShape{position="); sb.append(this.position); sb.append(", size="); sb.append(this.size); sb.append(UrlTreeKt.componentParamSuffixChar); return sb.toString(); } public boolean isHidden() { return this.hidden; } public AnimatableValue getSize() { return this.size; } public AnimatableValue getPosition() { return this.position; } public String getName() { return this.name; } public AnimatableFloatValue getCornerRadius() { return this.cornerRadius; } }