Rabbit-R1/switch port/java/sources/com/airbnb/lottie/model/DocumentData.java
2024-05-21 17:08:36 -04:00

56 lines
1.9 KiB
Java

package com.airbnb.lottie.model;
import android.graphics.PointF;
/* loaded from: classes2.dex */
public class DocumentData {
public float baselineShift;
public PointF boxPosition;
public PointF boxSize;
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: classes2.dex */
public enum Justification {
LEFT_ALIGN,
RIGHT_ALIGN,
CENTER
}
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, PointF pointF, PointF pointF2) {
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;
this.boxPosition = pointF;
this.boxSize = pointF2;
}
public DocumentData(String str, String str2, float f, Justification justification, int i, float f2, float f3, int i2, int i3, float f4, boolean z, PointF pointF, PointF pointF2) {
set(str, str2, f, justification, i, f2, f3, i2, i3, f4, z, pointF, pointF2);
}
public DocumentData() {
}
public int hashCode() {
int hashCode = (((((int) ((((this.text.hashCode() * 31) + this.fontName.hashCode()) * 31) + this.size)) * 31) + this.justification.ordinal()) * 31) + this.tracking;
long floatToRawIntBits = Float.floatToRawIntBits(this.lineHeight);
return (((hashCode * 31) + ((int) (floatToRawIntBits ^ (floatToRawIntBits >>> 32)))) * 31) + this.color;
}
}