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

40 lines
1.0 KiB
Java

package com.airbnb.lottie.model;
import com.airbnb.lottie.model.content.ShapeGroup;
import java.util.List;
/* loaded from: classes.dex */
public class FontCharacter {
private final char character;
private final String fontFamily;
private final List<ShapeGroup> shapes;
private final double size;
private final String style;
private final double width;
public static int hashFor(char c, String str, String str2) {
return (((c * 31) + str.hashCode()) * 31) + str2.hashCode();
}
public FontCharacter(List<ShapeGroup> list, char c, double d, double d2, String str, String str2) {
this.shapes = list;
this.character = c;
this.size = d;
this.width = d2;
this.style = str;
this.fontFamily = str2;
}
public int hashCode() {
return hashFor(this.character, this.fontFamily, this.style);
}
public double getWidth() {
return this.width;
}
public List<ShapeGroup> getShapes() {
return this.shapes;
}
}