mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 09:02:34 -06:00
36 lines
833 B
Java
36 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));
|
||
|
}
|
||
|
}
|