what-the-bank/sources/o/GMi.java

38 lines
1.1 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Typeface;
import android.text.TextPaint;
/* loaded from: classes.dex */
public final class GMi extends ZBp {
private static Paint e;
public GMi(C2650aic c2650aic) {
super(c2650aic);
}
@Override // android.text.style.ReplacementSpan
public final void draw(Canvas canvas, CharSequence charSequence, int i, int i2, float f, int i3, int i4, int i5, Paint paint) {
if (C16349neT.e().d()) {
float f2 = i3;
float c = f + c();
float f3 = i5;
if (e == null) {
TextPaint textPaint = new TextPaint();
e = textPaint;
textPaint.setColor(C16349neT.e().c());
e.setStyle(Paint.Style.FILL);
}
canvas.drawRect(f, f2, c, f3, e);
}
C2650aic b = b();
Typeface typeface = b.e.b;
Typeface typeface2 = paint.getTypeface();
paint.setTypeface(typeface);
canvas.drawText(b.e.a, b.b << 1, 2, f, i4, paint);
paint.setTypeface(typeface2);
}
}