Package io.rong.imkit.picture.widget.longimage

## 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.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### 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)` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### 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`

- - ### Constructor Detail

    - #### ImageViewState

          ImageViewState(float scale, PointF center, int orientation)

  - ### Method Detail

    - #### getScale

           float getScale()

    - #### getOrientation

           int getOrientation()

    - #### getCenter

           PointF getCenter()