EnabledZoomGestures

Gestures that Modifier.zoomable will observe and respond to.

This acts as a simple toggle bag for different gesture types. To control how Modifier.zoomable responds to them, use the params defined in rememberZoomableState.

Presets:

Usage:

EnabledZoomGestures(
zoom = true,
pan = true,
)

Constructors

Link copied to clipboard
constructor(zoom: Boolean = true, pan: Boolean = true)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun copy(zoom: Boolean = this.zoom, pan: Boolean = this.pan): EnabledZoomGestures
Link copied to clipboard
open override fun toString(): String