doodle
Toggle table of contents
0.12.0
common
Target filter
common
Switch theme
Search in API
Skip to content
doodle
Core
/
io.nacular.doodle.geometry
/
coerceInAspect
coerce
In
Aspect
fun
Size
.
coerceInAspect
(
target
:
Size
)
:
Size
(
source
)
Return
return a
Size
based on
this
that is within
target
with the same aspect ratio