ZoomableViewState
constructor(@FloatRange(from = 1.0) maxScale: Float = MAX_SCALE_RATE, offsetX: Float = DEFAULT_OFFSET_X, offsetY: Float = DEFAULT_OFFSET_Y, scale: Float = DEFAULT_SCALE, rotation: Float = DEFAULT_ROTATION, animationSpec: AnimationSpec<Float>? = null)
Parameters
offsetX
X轴偏移量
offsetY
Y轴偏移量
scale
缩放率
rotation
旋转角度
animationSpec
动画窗格