Class ZoomableLayoutKt
-
- All Implemented Interfaces:
public final class ZoomableLayoutKt
-
-
Method Summary
Modifier and Type Method Description final static Unit
,java.lang.Boolean,kotlin.jvm.functions.Function0,kotlin.jvm.functions.Function0,kotlin.jvm.functions.Function0,kotlin.jvm.functions.Function0,kotlin.jvm.functions.Function1)>ZoomableLayout(ZoomableState state, <Error class: unknown class> modifier, Boolean zoomEnabled, Function0<Float> doubleTapScale, Function0<<Error class: unknown class>> doubleTapTransition, Function0<Unit> onBeforeDoubleTapScale, Function0<Unit> onFinishDoubleTapScale, Function1<<Error class: unknown class>, Unit> content)
A zoomable layout that can handle zoom in and out with drag support. -
-
Method Detail
-
ZoomableLayout
final static Unit ,java.lang.Boolean,kotlin.jvm.functions.Function0,kotlin.jvm.functions.Function0,kotlin.jvm.functions.Function0,kotlin.jvm.functions.Function0,kotlin.jvm.functions.Function1)>ZoomableLayout(ZoomableState state, <Error class: unknown class> modifier, Boolean zoomEnabled, Function0<Float> doubleTapScale, Function0<<Error class: unknown class>> doubleTapTransition, Function0<Unit> onBeforeDoubleTapScale, Function0<Unit> onFinishDoubleTapScale, Function1<<Error class: unknown class>, Unit> content)
A zoomable layout that can handle zoom in and out with drag support.
- Parameters:
state
- the state object to be used to observe the ZoomableLayout state.modifier
- the modifier to apply to this layout.doubleTapScale
- a function called on double tap gesture, will scale to returned value.content
- a block which describes the content.
-
-
-
-