Rabbit-R1/switch port/java/sources/com/airbnb/lottie/animation/LPaint.java
2024-05-21 17:08:36 -04:00

35 lines
833 B
Java

package com.airbnb.lottie.animation;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffXfermode;
import android.os.LocaleList;
import com.airbnb.lottie.utils.MiscUtils;
/* loaded from: classes2.dex */
public class LPaint extends Paint {
@Override // android.graphics.Paint
public void setTextLocales(LocaleList localeList) {
}
public LPaint() {
}
public LPaint(int i) {
super(i);
}
public LPaint(PorterDuff.Mode mode) {
setXfermode(new PorterDuffXfermode(mode));
}
public LPaint(int i, PorterDuff.Mode mode) {
super(i);
setXfermode(new PorterDuffXfermode(mode));
}
@Override // android.graphics.Paint
public void setAlpha(int i) {
super.setAlpha(MiscUtils.clamp(i, 0, 255));
}
}