what-the-bank/sources/com/airbnb/lottie/model/content/CircleShape.java

52 lines
1.6 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.airbnb.lottie.model.content;
import android.graphics.PointF;
import com.airbnb.lottie.LottieDrawable;
import com.airbnb.lottie.animation.content.Content;
import com.airbnb.lottie.animation.content.EllipseContent;
import com.airbnb.lottie.model.animatable.AnimatablePointValue;
import com.airbnb.lottie.model.animatable.AnimatableValue;
import com.airbnb.lottie.model.layer.BaseLayer;
/* loaded from: classes.dex */
public class CircleShape implements ContentModel {
private final boolean hidden;
private final boolean isReversed;
private final String name;
private final AnimatableValue<PointF, PointF> position;
private final AnimatablePointValue size;
public CircleShape(String str, AnimatableValue<PointF, PointF> animatableValue, AnimatablePointValue animatablePointValue, boolean z, boolean z2) {
this.name = str;
this.position = animatableValue;
this.size = animatablePointValue;
this.isReversed = z;
this.hidden = z2;
}
@Override // com.airbnb.lottie.model.content.ContentModel
public Content toContent(LottieDrawable lottieDrawable, BaseLayer baseLayer) {
return new EllipseContent(lottieDrawable, baseLayer, this);
}
public boolean isReversed() {
return this.isReversed;
}
public boolean isHidden() {
return this.hidden;
}
public AnimatablePointValue getSize() {
return this.size;
}
public AnimatableValue<PointF, PointF> getPosition() {
return this.position;
}
public String getName() {
return this.name;
}
}