Table of Contents

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

index int
x int
y int
width int
height int
resolutions List<Resolution>

Properties

Height

The height of the display, in desktop coordinates.

public int Height { get; }

Property Value

int

Index

The display's index in Displays.

public int Index { get; }

Property Value

int

SupportedResolutions

The fullscreen modes the display offers, widest and then highest first.

public List<Resolution> SupportedResolutions { get; }

Property Value

List<Resolution>

Width

The width of the display, in desktop coordinates.

public int Width { get; }

Property Value

int

X

The left edge of the display, in desktop coordinates.

public int X { get; }

Property Value

int

Y

The top edge of the display, in desktop coordinates.

public int Y { get; }

Property Value

int