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 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. -
sizeSize -
workAreaRectangle - the work area of the display in DIP points. -
workAreaSizeSize -
internalBoolean -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.
© GitHub Inc.
Licensed under the MIT license.
https://www.electronjs.org/docs/latest/api/structures/display