44 lines
1.2 KiB
Java
44 lines
1.2 KiB
Java
package com.airbnb.lottie.model.content;
|
|
|
|
import com.airbnb.lottie.model.animatable.AnimatableIntegerValue;
|
|
import com.airbnb.lottie.model.animatable.AnimatableShapeValue;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class Mask {
|
|
private final boolean inverted;
|
|
private final MaskMode maskMode;
|
|
private final AnimatableShapeValue maskPath;
|
|
private final AnimatableIntegerValue opacity;
|
|
|
|
/* loaded from: classes.dex */
|
|
public enum MaskMode {
|
|
MASK_MODE_ADD,
|
|
MASK_MODE_SUBTRACT,
|
|
MASK_MODE_INTERSECT,
|
|
MASK_MODE_NONE
|
|
}
|
|
|
|
public Mask(MaskMode maskMode, AnimatableShapeValue animatableShapeValue, AnimatableIntegerValue animatableIntegerValue, boolean z) {
|
|
this.maskMode = maskMode;
|
|
this.maskPath = animatableShapeValue;
|
|
this.opacity = animatableIntegerValue;
|
|
this.inverted = z;
|
|
}
|
|
|
|
public boolean isInverted() {
|
|
return this.inverted;
|
|
}
|
|
|
|
public AnimatableIntegerValue getOpacity() {
|
|
return this.opacity;
|
|
}
|
|
|
|
public AnimatableShapeValue getMaskPath() {
|
|
return this.maskPath;
|
|
}
|
|
|
|
public MaskMode getMaskMode() {
|
|
return this.maskMode;
|
|
}
|
|
}
|