what-the-bank/sources/com/airbnb/lottie/model/DocumentData.java

53 lines
1.7 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.airbnb.lottie.model;
/* loaded from: classes.dex */
public class DocumentData {
public float baselineShift;
public int color;
public String fontName;
public Justification justification;
public float lineHeight;
public float size;
public int strokeColor;
public boolean strokeOverFill;
public float strokeWidth;
public String text;
public int tracking;
/* loaded from: classes.dex */
public enum Justification {
LEFT_ALIGN,
RIGHT_ALIGN,
CENTER
}
public DocumentData(String str, String str2, float f, Justification justification, int i, float f2, float f3, int i2, int i3, float f4, boolean z) {
set(str, str2, f, justification, i, f2, f3, i2, i3, f4, z);
}
public DocumentData() {
}
public int hashCode() {
int hashCode = (int) ((((this.text.hashCode() * 31) + this.fontName.hashCode()) * 31) + this.size);
int ordinal = this.justification.ordinal();
int i = this.tracking;
long floatToRawIntBits = Float.floatToRawIntBits(this.lineHeight);
return (((((((hashCode * 31) + ordinal) * 31) + i) * 31) + ((int) ((floatToRawIntBits >>> 32) ^ floatToRawIntBits))) * 31) + this.color;
}
public void set(String str, String str2, float f, Justification justification, int i, float f2, float f3, int i2, int i3, float f4, boolean z) {
this.text = str;
this.fontName = str2;
this.size = f;
this.justification = justification;
this.tracking = i;
this.lineHeight = f2;
this.baselineShift = f3;
this.color = i2;
this.strokeColor = i3;
this.strokeWidth = f4;
this.strokeOverFill = z;
}
}