maxPan

fun maxPan(frameSize: Float, sourceSize: Int, totalScale: Float): Float

The furthest the scaled image can pan on one axis while still fully covering the frame.