package r0;

import q.AbstractC2761L;

/* JADX INFO: loaded from: classes.dex */
public final class i extends f {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final float f23809a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final float f23810b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final int f23811c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final int f23812d;

    public i(int i6, int i7, float f6, float f7, int i8) {
        f7 = (i8 & 2) != 0 ? 4.0f : f7;
        i6 = (i8 & 4) != 0 ? 0 : i6;
        i7 = (i8 & 8) != 0 ? 0 : i7;
        this.f23809a = f6;
        this.f23810b = f7;
        this.f23811c = i6;
        this.f23812d = i7;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof i)) {
            return false;
        }
        i iVar = (i) obj;
        if (this.f23809a == iVar.f23809a && this.f23810b == iVar.f23810b) {
            if (this.f23811c == iVar.f23811c) {
                if (this.f23812d == iVar.f23812d) {
                    iVar.getClass();
                    return true;
                }
            }
        }
        return false;
    }

    public final int hashCode() {
        return AbstractC2761L.a(this.f23812d, AbstractC2761L.a(this.f23811c, com.google.android.recaptcha.internal.a.b(this.f23810b, Float.hashCode(this.f23809a) * 31, 31), 31), 31);
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("Stroke(width=");
        sb.append(this.f23809a);
        sb.append(", miter=");
        sb.append(this.f23810b);
        sb.append(", cap=");
        String str = "Unknown";
        int i6 = this.f23811c;
        sb.append((Object) (i6 == 0 ? "Butt" : i6 == 1 ? "Round" : i6 == 2 ? "Square" : "Unknown"));
        sb.append(", join=");
        int i7 = this.f23812d;
        if (i7 == 0) {
            str = "Miter";
        } else if (i7 == 1) {
            str = "Round";
        } else if (i7 == 2) {
            str = "Bevel";
        }
        sb.append((Object) str);
        sb.append(", pathEffect=null)");
        return sb.toString();
    }
}
