Rachel
Toggle table of contents
3.7.2
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.components.image
/
love.yinlin.compose.ui.image
/
ImageZoomState
Image
Zoom
State
@
Stable
class
ImageZoomState
Members
Properties
max
Scale
Link copied to clipboard
val
maxScale
:
Float
scale
Link copied to clipboard
var
scale
:
Float
translation
Link copied to clipboard
var
translation
:
Offset
Functions
reset
Link copied to clipboard
fun
reset
(
)
toggle
Link copied to clipboard
fun
toggle
(
pivot
:
Offset
)
transform
Link copied to clipboard
fun
transform
(
pivot
:
Offset
,
pan
:
Offset
=
Offset.Zero
,
zoom
:
Float
=
1.0f
)
:
Boolean