availHeight: Retrieves the height of the working area of the system's screen, excluding the Microsoft® Windows® taskbar. availWidth: Retrieves the width of the working area of the system's screen, excluding the Microsoft® Windows® taskbar. bufferDepth: Sets or retrieves the number of bits per pixel used for colors in the off-screen bitmap buffer. colorDepth: Retrieves the number of bits per pixel used for colors on the destination device or buffer. fontSmoothingEnabled Retrieves whether the user has enabled font smoothing in the Display control panel. height: Retrieves the vertical resolution of the screen. updateInterval Sets or retrieves the update interval for the screen. width: Retrieves the horizontal resolution of the screen.
screen.height
就是分辨率 800*600 中
screen.width=800
screen.height=600以此类推
Retrieves the height of the working area of the system's screen, excluding the Microsoft® Windows® taskbar. availWidth:
Retrieves the width of the working area of the system's screen, excluding the Microsoft® Windows® taskbar. bufferDepth:
Sets or retrieves the number of bits per pixel used for colors in the off-screen bitmap buffer. colorDepth:
Retrieves the number of bits per pixel used for colors on the destination device or buffer.
fontSmoothingEnabled Retrieves whether the user has enabled font smoothing in the Display control panel. height:
Retrieves the vertical resolution of the screen.
updateInterval Sets or retrieves the update interval for the screen. width:
Retrieves the horizontal resolution of the screen.