mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
35 lines
833 B
Java
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));
|
|
}
|
|
}
|