ktx
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
ktx
graphics
/
ktx.graphics
/
LetterboxingViewport
/
aspectRatio
aspect
Ratio
var
aspectRatio
:
Float
Parameters
aspect
Ratio
width divided by height. Will preserve this aspect ratio by applying letterboxing.