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

50 lines
1.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.airbnb.lottie.model.content;
import com.airbnb.deeplinkdispatch.UrlTreeKt;
import com.airbnb.lottie.LottieDrawable;
import com.airbnb.lottie.animation.content.Content;
import com.airbnb.lottie.animation.content.ShapeContent;
import com.airbnb.lottie.model.animatable.AnimatableShapeValue;
import com.airbnb.lottie.model.layer.BaseLayer;
/* loaded from: classes.dex */
public class ShapePath implements ContentModel {
private final boolean hidden;
private final int index;
private final String name;
private final AnimatableShapeValue shapePath;
public ShapePath(String str, int i, AnimatableShapeValue animatableShapeValue, boolean z) {
this.name = str;
this.index = i;
this.shapePath = animatableShapeValue;
this.hidden = z;
}
@Override // com.airbnb.lottie.model.content.ContentModel
public Content toContent(LottieDrawable lottieDrawable, BaseLayer baseLayer) {
return new ShapeContent(lottieDrawable, baseLayer, this);
}
public String toString() {
StringBuilder sb = new StringBuilder("ShapePath{name=");
sb.append(this.name);
sb.append(", index=");
sb.append(this.index);
sb.append(UrlTreeKt.componentParamSuffixChar);
return sb.toString();
}
public boolean isHidden() {
return this.hidden;
}
public AnimatableShapeValue getShapePath() {
return this.shapePath;
}
public String getName() {
return this.name;
}
}