DoubleClickToZoomListener

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

Inheritors

Types

Link copied to clipboard

Toggles between ZoomSpec.maxZoomFactor and the minimum zoom factor on double clicks.

Functions

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