namespace ElectronNET.API.Entities
{
///
///
///
/// Up-to-date with Electron API 39.2
public class Display
{
///
/// Gets or sets the accelerometer support status; can be 'available', 'unavailable', or 'unknown'.
///
public string AccelerometerSupport { get; set; }
///
/// Gets or sets the bounds.
///
///
/// The bounds of the display in DIP points.
///
public Rectangle Bounds { get; set; }
///
/// Gets or sets the number of bits per pixel.
///
public int ColorDepth { get; set; }
///
/// Gets or sets the color space description used for color conversions.
///
public string ColorSpace { get; set; }
///
/// Gets or sets the number of bits per color component.
///
public int DepthPerComponent { get; set; }
///
/// Gets or sets a value indicating whether the display is detected by the system.
///
public bool Detected { get; set; }
///
/// Gets or sets the display refresh rate.
///
public double DisplayFrequency { get; set; }
///
/// Gets or sets the unique identifier associated with the display. A value of -1 means the display is invalid or the correct id is not yet known, and a value of -10 means the display is a virtual display assigned to a unified desktop.
///
public long Id { get; set; }
///
/// Gets or sets a value indicating whether the display is internal (true) or external (false).
///
public bool Internal { get; set; }
///
/// Gets or sets the user-friendly label, determined by the platform.
///
public string Label { get; set; }
///
/// Gets or sets the maximum cursor size in native pixels.
///
public Size MaximumCursorSize { get; set; }
///
/// Gets or sets the display's origin in pixel coordinates. Only available on windowing systems that position displays in pixel coordinates (e.g., X11).
///
public Point NativeOrigin { get; set; }
///
/// Gets or sets the screen rotation in clock-wise degrees. Can be 0, 90, 180, or 270.
///
public int Rotation { get; set; }
///
/// Gets or sets the output device's pixel scale factor.
///
public double ScaleFactor { get; set; }
///
/// Gets or sets the touch support status; can be 'available', 'unavailable', or 'unknown'.
///
public string TouchSupport { get; set; }
///
/// Gets or sets a value indicating whether the display is monochrome.
///
public bool Monochrome { get; set; }
///
/// Gets or sets the size.
///
///
/// The size.
///
public Size Size { get; set; }
///
/// Gets or sets the work area of the display in DIP points.
///
///
/// The work area of the display in DIP points.
///
public Rectangle WorkArea { get; set; }
///
/// Gets or sets the size of the work area.
///
///
/// The size of the work area.
///
public Size WorkAreaSize { get; set; }
}
}