Class DisplayInfo
- Namespace
- BSGameLib.Game
- Assembly
- BSGameLib.Game.dll
A display: its index, its bounds in desktop coordinates and the modes it supports.
public class DisplayInfo
- Inheritance
-
DisplayInfo
- Inherited Members
Constructors
DisplayInfo(int, int, int, int, int, List<Resolution>)
Creates a display description. DisplayManager creates these.
public DisplayInfo(int index, int x, int y, int width, int height, List<Resolution> resolutions)
Parameters
Properties
Height
The height of the display, in desktop coordinates.
public int Height { get; }
Property Value
Index
The display's index in Displays.
public int Index { get; }
Property Value
SupportedResolutions
The fullscreen modes the display offers, widest and then highest first.
public List<Resolution> SupportedResolutions { get; }
Property Value
Width
The width of the display, in desktop coordinates.
public int Width { get; }
Property Value
X
The left edge of the display, in desktop coordinates.
public int X { get; }
Property Value
Y
The top edge of the display, in desktop coordinates.
public int Y { get; }