51 lines
1.6 KiB
Java
51 lines
1.6 KiB
Java
|
package com.airbnb.lottie.model.content;
|
||
|
|
||
|
import com.airbnb.lottie.LottieDrawable;
|
||
|
import com.airbnb.lottie.animation.content.Content;
|
||
|
import com.airbnb.lottie.animation.content.RepeaterContent;
|
||
|
import com.airbnb.lottie.model.animatable.AnimatableFloatValue;
|
||
|
import com.airbnb.lottie.model.animatable.AnimatableTransform;
|
||
|
import com.airbnb.lottie.model.layer.BaseLayer;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public class Repeater implements ContentModel {
|
||
|
private final AnimatableFloatValue copies;
|
||
|
private final boolean hidden;
|
||
|
private final String name;
|
||
|
private final AnimatableFloatValue offset;
|
||
|
private final AnimatableTransform transform;
|
||
|
|
||
|
public Repeater(String str, AnimatableFloatValue animatableFloatValue, AnimatableFloatValue animatableFloatValue2, AnimatableTransform animatableTransform, boolean z) {
|
||
|
this.name = str;
|
||
|
this.copies = animatableFloatValue;
|
||
|
this.offset = animatableFloatValue2;
|
||
|
this.transform = animatableTransform;
|
||
|
this.hidden = z;
|
||
|
}
|
||
|
|
||
|
@Override // com.airbnb.lottie.model.content.ContentModel
|
||
|
public Content toContent(LottieDrawable lottieDrawable, BaseLayer baseLayer) {
|
||
|
return new RepeaterContent(lottieDrawable, baseLayer, this);
|
||
|
}
|
||
|
|
||
|
public boolean isHidden() {
|
||
|
return this.hidden;
|
||
|
}
|
||
|
|
||
|
public AnimatableTransform getTransform() {
|
||
|
return this.transform;
|
||
|
}
|
||
|
|
||
|
public AnimatableFloatValue getOffset() {
|
||
|
return this.offset;
|
||
|
}
|
||
|
|
||
|
public String getName() {
|
||
|
return this.name;
|
||
|
}
|
||
|
|
||
|
public AnimatableFloatValue getCopies() {
|
||
|
return this.copies;
|
||
|
}
|
||
|
}
|