library / com.otaliastudios.zoom / ZoomApi / zoomTo

zoomTo

abstract fun zoomTo(zoom: Float, animate: Boolean): Unit

Zooms to the given scale. This might not be the actual matrix zoom, see ZoomApi.zoom and ZoomApi.realZoom.

Parameters

zoom - the new scale value

animate - whether to animate the transition