what-the-bank/sources/com/airbnb/lottie/value/ScaleXY.java

42 lines
839 B
Java

package com.airbnb.lottie.value;
/* loaded from: classes.dex */
public class ScaleXY {
private float scaleX;
private float scaleY;
public ScaleXY(float f, float f2) {
this.scaleX = f;
this.scaleY = f2;
}
public ScaleXY() {
this(1.0f, 1.0f);
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getScaleX());
sb.append("x");
sb.append(getScaleY());
return sb.toString();
}
public void set(float f, float f2) {
this.scaleX = f;
this.scaleY = f2;
}
public float getScaleY() {
return this.scaleY;
}
public float getScaleX() {
return this.scaleX;
}
public boolean equals(float f, float f2) {
return this.scaleX == f && this.scaleY == f2;
}
}