Class ImageViewState
-
- All Implemented Interfaces:
-
java.io.Serializable
public class ImageViewState implements Serializable
Wraps the scale, center and orientation of a displayed image for easy restoration on screen rotate.
-
-
Field Summary
Fields Modifier and Type Field Description public float
scale
public int
orientation
-
Constructor Summary
Constructors Constructor Description ImageViewState(float scale, PointF center, int orientation)
-
Method Summary
Modifier and Type Method Description float
getScale()
int
getOrientation()
PointF
getCenter()
-
-
Method Detail
-
getScale
float getScale()
-
getOrientation
int getOrientation()
-
getCenter
PointF getCenter()
-
-
-
-