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

48 lines
1.2 KiB
Java

package o;
import android.graphics.Canvas;
import android.graphics.Paint;
/* loaded from: classes3.dex */
public final class gZG extends HrY {
private Paint d;
public gZG(Paint paint, SLJ slj) {
super(paint, slj);
Paint paint2 = new Paint();
this.d = paint2;
paint2.setStyle(Paint.Style.STROKE);
this.d.setAntiAlias(true);
this.d.setStrokeWidth(slj.u);
}
public final void Qe_(Canvas canvas, int i, boolean z, int i2, int i3) {
Paint paint;
float f = this.a.s;
int i4 = this.a.u;
float f2 = this.a.p;
int i5 = this.a.q;
int i6 = this.a.x;
int i7 = this.a.y;
SLJ slj = this.a;
if (slj.e == null) {
slj.e = yPx.NONE;
}
yPx ypx = slj.e;
if ((ypx == yPx.SCALE && !z) || (ypx == yPx.SCALE_DOWN && z)) {
f *= f2;
}
if (i != i7) {
i5 = i6;
}
if (ypx == yPx.FILL && i != i7) {
paint = this.d;
paint.setStrokeWidth(i4);
} else {
paint = this.b;
}
paint.setColor(i5);
canvas.drawCircle(i2, i3, f, paint);
}
}