setFullscreen

fun setFullscreen(fullscreen: Boolean, monitor: Monitor? = null)

Sets whether the layout should cause the surface to be fullscreen when presented.

Parameters

fullscreen

true to fullscreen the surface

monitor

the monitor to fullscreen on