Table of Contents

Class Resolution

Namespace
BSGameLib.Game
Assembly
BSGameLib.Game.dll

A fullscreen video mode: a size and a refresh rate.

public class Resolution
Inheritance
Resolution
Inherited Members

Constructors

Resolution(int, int, int)

Creates a video mode.

public Resolution(int width, int height, int refreshRate)

Parameters

width int
height int
refreshRate int

Properties

Height

The height in pixels.

public int Height { get; }

Property Value

int

RefreshRate

The refresh rate in hertz.

public int RefreshRate { get; }

Property Value

int

Width

The width in pixels.

public int Width { get; }

Property Value

int

Methods

ToString()

The mode as text, such as 1920x1080 @ 60Hz.

public override string ToString()

Returns

string