zoomBy

Function

Common
suspend fun TransformableState.zoomBy(zoomFactor: Float) = transform {
    transformBy(zoomFactor, Offset.Zero, 0f)
}

Zoom without animation by a ratio of zoomFactor over the current size and suspend until it's set.

Parameters

zoomFactorratio over the current size by which to zoom