mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 08:32:38 -06:00
31 lines
746 B
Java
31 lines
746 B
Java
package com.davemorrissey.labs.subscaleview;
|
|
|
|
import android.graphics.PointF;
|
|
import java.io.Serializable;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class ImageViewState implements Serializable {
|
|
private final float centerX;
|
|
private final float centerY;
|
|
private final int orientation;
|
|
private final float scale;
|
|
|
|
public int getOrientation() {
|
|
return this.orientation;
|
|
}
|
|
|
|
public float getScale() {
|
|
return this.scale;
|
|
}
|
|
|
|
public ImageViewState(float f, PointF pointF, int i) {
|
|
this.scale = f;
|
|
this.centerX = pointF.x;
|
|
this.centerY = pointF.y;
|
|
this.orientation = i;
|
|
}
|
|
|
|
public PointF getCenter() {
|
|
return new PointF(this.centerX, this.centerY);
|
|
}
|
|
}
|