package com.ss.android.ugc.aweme.editSticker.text.bean;

import X.2HN;
import X.C5102Qxv;
import X.M12;
import android.graphics.Paint;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import java.util.Objects;

public final class InnerEffectTextStrokeConfig implements Parcelable {
    public static final Parcelable.Creator<InnerEffectTextStrokeConfig> CREATOR = new C5102Qxv();
    public final int strokeColor;
    public final Paint.Join strokeJoin;
    public final float strokeWidth;

    static {
        Covode.recordClassIndex(73682);
    }

    public InnerEffectTextStrokeConfig() {
        this(0.0f, 0, (Paint.Join) null, 7, (2HN) null);
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_editSticker_text_bean_InnerEffectTextStrokeConfig_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(int i) {
        return i;
    }

    public static /* synthetic */ InnerEffectTextStrokeConfig copy$default(InnerEffectTextStrokeConfig innerEffectTextStrokeConfig, float f, int i, Paint.Join join, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            f = innerEffectTextStrokeConfig.strokeWidth;
        }
        if ((i2 & 2) != 0) {
            i = innerEffectTextStrokeConfig.strokeColor;
        }
        if ((i2 & 4) != 0) {
            join = innerEffectTextStrokeConfig.strokeJoin;
        }
        return innerEffectTextStrokeConfig.copy(f, i, join);
    }

    private Object[] getObjects() {
        return new Object[]{Float.valueOf(this.strokeWidth), Integer.valueOf(this.strokeColor), this.strokeJoin};
    }

    public final InnerEffectTextStrokeConfig copy(float f, int i, Paint.Join join) {
        M12.LIZ(join);
        return new InnerEffectTextStrokeConfig(f, i, join);
    }

    public final int describeContents() {
        return 0;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof InnerEffectTextStrokeConfig)) {
            return false;
        }
        return M12.LIZ(((InnerEffectTextStrokeConfig) obj).getObjects(), getObjects());
    }

    public final int hashCode() {
        return Objects.hash(getObjects());
    }

    public final String toString() {
        return M12.LIZ("InnerEffectTextStrokeConfig:%s,%s,%s", getObjects());
    }

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        parcel.writeFloat(this.strokeWidth);
        parcel.writeInt(this.strokeColor);
        parcel.writeString(this.strokeJoin.name());
    }

    public final int getStrokeColor() {
        return this.strokeColor;
    }

    public final Paint.Join getStrokeJoin() {
        return this.strokeJoin;
    }

    public final float getStrokeWidth() {
        return this.strokeWidth;
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_editSticker_text_bean_InnerEffectTextStrokeConfig_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(float f) {
        return Float.floatToIntBits(f);
    }

    public InnerEffectTextStrokeConfig(float f, int i, Paint.Join join) {
        M12.LIZ(join);
        this.strokeWidth = f;
        this.strokeColor = i;
        this.strokeJoin = join;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ InnerEffectTextStrokeConfig(float f, int i, Paint.Join join, int i2, 2HN r6) {
        this((i2 & 1) != 0 ? 0.0f : f, (i2 & 2) != 0 ? -16777216 : i, (i2 & 4) != 0 ? Paint.Join.ROUND : join);
    }
}
