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

47 lines
1.3 KiB
Java

package o;
import android.graphics.Canvas;
import android.graphics.Paint;
/* loaded from: classes3.dex */
public final class yTr extends Nhu {
public yTr(Paint paint, SLJ slj) {
super(paint, slj);
}
@Override // o.Nhu
public final void Qg_(Canvas canvas, PIs pIs, int i, int i2) {
if (pIs instanceof C15696hnx) {
C15696hnx c15696hnx = (C15696hnx) pIs;
int i3 = c15696hnx.c;
int i4 = c15696hnx.b;
int i5 = c15696hnx.a / 2;
int i6 = this.a.s;
int i7 = this.a.x;
int i8 = 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 = i5 + i2;
} else {
this.c.left = i - i5;
this.c.right = i5 + i;
this.c.top = i3;
this.c.bottom = i4;
}
this.b.setColor(i7);
float f = i;
float f2 = i2;
float f3 = i6;
canvas.drawCircle(f, f2, f3, this.b);
this.b.setColor(i8);
canvas.drawRoundRect(this.c, f3, f3, this.b);
}
}
}