49 lines
1.4 KiB
Java
49 lines
1.4 KiB
Java
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.ContentGroup;
|
|
import com.airbnb.lottie.model.layer.BaseLayer;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class ShapeGroup implements ContentModel {
|
|
private final boolean hidden;
|
|
private final List<ContentModel> items;
|
|
private final String name;
|
|
|
|
public ShapeGroup(String str, List<ContentModel> list, boolean z) {
|
|
this.name = str;
|
|
this.items = list;
|
|
this.hidden = z;
|
|
}
|
|
|
|
@Override // com.airbnb.lottie.model.content.ContentModel
|
|
public Content toContent(LottieDrawable lottieDrawable, BaseLayer baseLayer) {
|
|
return new ContentGroup(lottieDrawable, baseLayer, this);
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder("ShapeGroup{name='");
|
|
sb.append(this.name);
|
|
sb.append("' Shapes: ");
|
|
sb.append(Arrays.toString(this.items.toArray()));
|
|
sb.append(UrlTreeKt.componentParamSuffixChar);
|
|
return sb.toString();
|
|
}
|
|
|
|
public boolean isHidden() {
|
|
return this.hidden;
|
|
}
|
|
|
|
public String getName() {
|
|
return this.name;
|
|
}
|
|
|
|
public List<ContentModel> getItems() {
|
|
return this.items;
|
|
}
|
|
}
|