library / com.otaliastudios.zoom / OverZoomRangeProvider / getOverZoom

getOverZoom

abstract fun getOverZoom(engine: ZoomEngine, inwards: Boolean): Float

Calculates the maximum overzoom to allow

Parameters

engine - the zoom engine

inwards - true for inwards, false for outwards

Return
the maximum overzoom to allow