DoubleClickToZoomListener

Implement this interface for reacting to double clicks on Modifier.zoomable's content. By default, DoubleClickToZoomListener.cycle is used.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Toggles between ZoomSpec.maximum and the ZoomSpec.minimum on double clicks.

Functions

Link copied to clipboard
abstract suspend fun onDoubleClick(state: ZoomableState, centroid: Offset)