Skimbyte
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Skimbyte
Skimbyte
/
io.redigit.skimbyte.util
/
maxPan
max
Pan
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.