ImageViewerState
class ImageViewerState(offsetX: Float = DEFAULT_OFFSET_X, offsetY: Float = DEFAULT_OFFSET_Y, scale: Float = DEFAULT_SCALE, rotation: Float = DEFAULT_ROTATION, animationSpec: AnimationSpec<Float>? = null, crossfadeAnimationSpec: AnimationSpec<Float>? = null) : CoroutineScope
Deprecated
com.origeek.imageViewer下的全部类和方法均已弃用! 请使用新版本:com.jvziyaoyao.viewer。
viewer状态对象,用于记录compose组件状态
Constructors
Link copied to clipboard
constructor(offsetX: Float = DEFAULT_OFFSET_X, offsetY: Float = DEFAULT_OFFSET_Y, scale: Float = DEFAULT_SCALE, rotation: Float = DEFAULT_ROTATION, animationSpec: AnimationSpec<Float>? = null, crossfadeAnimationSpec: AnimationSpec<Float>? = null)