docs/javadoc/com/davemorrissey/labs/subscaleview/ImageViewState.html
com.davemorrissey.labs.subscaleview
All Implemented Interfaces:Serializable
public classImageViewStateextends[Object](https://developer.android.com/reference/java/lang/Object.html?is-external=true "class or interface in java.lang")implements[Serializable](https://developer.android.com/reference/java/io/Serializable.html?is-external=true "class or interface in java.io")
Wraps the scale, center and orientation of a displayed image for easy restoration on screen rotate. See Also:Serialized Form
Constructors | Constructor and Description |
| --- |
| ImageViewState(float scale, PointF center, int orientation) |
All Methods Instance Methods Concrete Methods | Modifier and Type | Method and Description |
| --- | --- |
| PointF | getCenter() |
| int | getOrientation() |
| float | getScale() |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public ImageViewState(float scale,[@NonNull](https://developer.android.com/reference/android/support.annotation.NonNull.html?is-external=true "class or interface in android")[PointF](https://developer.android.com/reference/android/graphics/PointF.html?is-external=true "class or interface in android.graphics")center,
int orientation)
-
public float getScale()
-
[@NonNull](https://developer.android.com/reference/android/support.annotation.NonNull.html?is-external=true "class or interface in android")public[PointF](https://developer.android.com/reference/android/graphics/PointF.html?is-external=true "class or interface in android.graphics")getCenter()
-
public int getOrientation()