OnZoom

typealias OnZoom = (centroid: Offset, zoomChange: Float) -> Unit

Represents a function block that handles the pinch-to-zoom gesture. centroid is the average position of the touch points. zoomChange is the factor by which the content scale should be multiplied.