what-the-bank/sources/com/airbnb/lottie/animation/content/CompoundTrimPathContent.java

23 lines
683 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.airbnb.lottie.animation.content;
import android.graphics.Path;
import com.airbnb.lottie.utils.Utils;
import java.util.ArrayList;
import java.util.List;
/* loaded from: classes.dex */
public class CompoundTrimPathContent {
private final List<TrimPathContent> contents = new ArrayList();
/* JADX INFO: Access modifiers changed from: package-private */
public void addTrimPath(TrimPathContent trimPathContent) {
this.contents.add(trimPathContent);
}
public void apply(Path path) {
for (int size = this.contents.size() - 1; size >= 0; size--) {
Utils.applyTrimPathIfNeeded(path, this.contents.get(size));
}
}
}