toggle menu
Scale
1.1.1-beta.3
common
switch theme
search in API
scale-zoomable-view
/
com.jvziyaoyao.scale.zoomable.zoomable
/
rememberZoomableState
remember
Zoomable
State
@
Composable
fun
rememberZoomableState
(
contentSize
:
Size
?
=
null
,
maxScale
:
Float
=
MAX_SCALE_RATE
,
animationSpec
:
AnimationSpec
<
Float
>
?
=
null
)
:
ZoomableViewState
返回一个ZoomableState
Return
Parameters
content
Size
内容尺寸大小,必填,不为空且大小确切的时候才能正常显示
max
Scale
最大缩放比例
animation
Spec
动画窗格