They are in DIP points (rather than screen points). We can use screen.dipToScreen* to convert to screen points.
1.3 KiB
1.3 KiB
Display Object
idNumber - Unique identifier associated with the display.rotationNumber - Can be 0, 90, 180, 270, represents screen rotation in clock-wise degrees.scaleFactorNumber - Output device's pixel scale factor.touchSupportString - Can beavailable,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.displayFrequencyNumber - The display refresh rate.boundsRectangle - the bounds of the display in DIP points.sizeSizeworkAreaRectangle - the work area of the display in DIP points.workAreaSizeSizeinternalBoolean -truefor an internal display andfalsefor an external display
The Display object represents a physical display connected to the system. A
fake Display may exist on a headless system, or a Display may correspond to
a remote, virtual display.