Full screen stage size and scaling The Stage. fullScreenHeight and Stage. fullScreenWidth properties return the height and the width of the monitor that’s used when going to full-screen size, if that state is entered immediately. These values can be incorrect if the user has the opportunity to move the browser from one monitor to another after you retrieve these values but before entering full-screen mode.
The code initiates full-screen mode by setting the Stage. displayState property to StageDisplayState. FULL_SCREEN. This code scales the entire stage to full screen with the video scaling.