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

49 lines
1.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.RectF;
/* loaded from: classes3.dex */
public class Nhu extends HrY {
public RectF c;
public Nhu(Paint paint, SLJ slj) {
super(paint, slj);
this.c = new RectF();
}
public void Qg_(Canvas canvas, PIs pIs, int i, int i2) {
if (pIs instanceof iED) {
iED ied = (iED) pIs;
int i3 = ied.c;
int i4 = ied.b;
int i5 = this.a.s;
int i6 = this.a.x;
int i7 = this.a.q;
SLJ slj = this.a;
if (slj.l == null) {
slj.l = YXR.HORIZONTAL;
}
if (slj.l == YXR.HORIZONTAL) {
this.c.left = i3;
this.c.right = i4;
this.c.top = i2 - i5;
this.c.bottom = i2 + i5;
} else {
this.c.left = i - i5;
this.c.right = i + i5;
this.c.top = i3;
this.c.bottom = i4;
}
this.b.setColor(i6);
float f = i;
float f2 = i2;
float f3 = i5;
canvas.drawCircle(f, f2, f3, this.b);
this.b.setColor(i7);
canvas.drawRoundRect(this.c, f3, f3, this.b);
}
}
}