ktx
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
ktx
graphics
/
ktx.graphics
/
LetterboxingViewport
/
updateScale
update
Scale
fun
updateScale
(
)
Forces update of current pixel per unit ratio according to screen density.
See also
Graphics.
getDensity
Graphics.
getPpiX
Graphics.
getPpiY