Screen
The Screen interface represents a screen, usually the one on which the current window is being rendered, and is obtained using window.screen.
properties
property | description |
---|---|
width | Width of the screen in pixels. |
height | Height of the screen in pixels. |
availWidth | Amount of horizontal space in pixels available to the window. |
availHeight | Specifies the height of the screen, in pixels, minus permanent or semipermanent user interface features displayed by the operating system, such as the Taskbar on Windows. |
colorDepth | The bit depth of the screen. |
pixelDepth | The bit depth of the screen. |