- Display对象
Display对象
id数字-与显示相关联的唯一的标志符rotation数字—可以是 0, 90, 180, 270, 代表屏幕旋转角度。scaleFactor数字-输出设备的像素比例因子。touchSupport字符串—可以是available、unavailable、unknown。monochromeBoolean - Whether or not the display is a monochrome display.accelerometerSupportString - Can beavailable,unavailable,unknown.colorSpaceString - represent a color space (three-dimensional object which contains all realizable color combinations) for the purpose of color conversionscolorDepthNumber - The number of bits per pixel.depthPerComponentNumber - The number of bits per color component.bounds矩形size尺寸workArea矩形workAreaSize尺寸internalBoolean -truefor an internal display andfalsefor an external displayDisplay对象表示一个连接到系统的物理显示。 一个伪Display可能存在于无图形界面(Gui)系统上, 或者 一个Display可能与一个远程的虚拟显示相对应。
