Display Object
idnumber -Unique identifier associated with the display.与显示器关联的唯一标识符。rotationnumber -Can be 0, 90, 180, 270, represents screen rotation in clock-wise degrees.可以是0、90、180、270,表示屏幕按时钟方向旋转的度数。scaleFactornumber -Output device's pixel scale factor.输出设备的像素比例因子。touchSupportstring -Can be可以是available,unavailable,unknown.available、unavailable、unknown。monochromeboolean -Whether or not the display is a monochrome display.显示器是否为单色显示器。accelerometerSupportstring -Can be可以是available,unavailable,unknown.available、unavailable、unknown。colorSpacestring -represent a color space (three-dimensional object which contains all realizable color combinations) for the purpose of color conversions表示用于颜色转换的颜色空间(包含所有可实现颜色组合的三维对象)colorDepthnumber -The number of bits per pixel.每个像素的位数。depthPerComponentnumber -The number of bits per color component.每个颜色组件的位数。displayFrequencynumber -The display refresh rate.显示器刷新率。boundsRectangle -the bounds of the display in DIP points.以DIP点为单位的显示边界。sizeSizeworkAreaRectangle -the work area of the display in DIP points.以DIP点为单位的显示器工作区域。workAreaSizeSizeinternalboolean -内部显示器为truefor an internal display andfalsefor an external displaytrue,外部显示器为false
The Display object represents a physical display connected to the system. Display对象表示连接到系统的物理显示器。A fake 伪Display may exist on a headless system, or a Display may correspond to a remote, virtual display.Display可能存在于无头系统上,或者Display可能对应于远程虚拟显示器。