library / com.otaliastudios.zoom / ZoomEngine / setMaxZoom

setMaxZoom

open fun setMaxZoom(maxZoom: Float, type: Int): Unit

Overrides ZoomApi.setMaxZoom

Which is the max zoom that should be allowed. If setOverPinchable is set to true, this can be over-pinched for a brief time.

Parameters

maxZoom - the max zoom

type - the constraint mode

See Also

ZoomApi.zoom

ZoomApi.realZoom

ZoomApi.TYPE_ZOOM

ZoomApi.TYPE_REAL_ZOOM