package com.ss.android.ugc.aweme.mvtheme;

import X.AnonymousClass55E;
import X.M12;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.io.Serializable;
import java.util.Objects;

public final class MvItemCrop implements Parcelable, Serializable {
    public static final Parcelable.Creator<MvItemCrop> CREATOR = new AnonymousClass55E();
    @c(LIZ = "lowerRightX")
    public final float lowerRightX;
    @c(LIZ = "lowerRightY")
    public final float lowerRightY;
    @c(LIZ = "upperLeftX")
    public final float upperLeftX;
    @c(LIZ = "upperLeftY")
    public final float upperLeftY;

    static {
        Covode.recordClassIndex(94586);
    }

    private Object[] LIZ() {
        return new Object[]{Float.valueOf(this.upperLeftX), Float.valueOf(this.upperLeftY), Float.valueOf(this.lowerRightX), Float.valueOf(this.lowerRightY)};
    }

    public static /* synthetic */ MvItemCrop copy$default(MvItemCrop mvItemCrop, float f, float f2, float f3, float f4, int i, Object obj) {
        if ((i & 1) != 0) {
            f = mvItemCrop.upperLeftX;
        }
        if ((i & 2) != 0) {
            f2 = mvItemCrop.upperLeftY;
        }
        if ((i & 4) != 0) {
            f3 = mvItemCrop.lowerRightX;
        }
        if ((i & 8) != 0) {
            f4 = mvItemCrop.lowerRightY;
        }
        return mvItemCrop.copy(f, f2, f3, f4);
    }

    public final MvItemCrop copy(float f, float f2, float f3, float f4) {
        return new MvItemCrop(f, f2, f3, f4);
    }

    public final int describeContents() {
        return 0;
    }

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

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

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

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        parcel.writeFloat(this.upperLeftX);
        parcel.writeFloat(this.upperLeftY);
        parcel.writeFloat(this.lowerRightX);
        parcel.writeFloat(this.lowerRightY);
    }

    public final float getLowerRightX() {
        return this.lowerRightX;
    }

    public final float getLowerRightY() {
        return this.lowerRightY;
    }

    public final float getUpperLeftX() {
        return this.upperLeftX;
    }

    public final float getUpperLeftY() {
        return this.upperLeftY;
    }

    public MvItemCrop(float f, float f2, float f3, float f4) {
        this.upperLeftX = f;
        this.upperLeftY = f2;
        this.lowerRightX = f3;
        this.lowerRightY = f4;
    }
}
