Package 

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
      private final float scale
      private final 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()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait