|
The Open Toolkit library
1.0
|
Contains information regarding a monitor's display resolution. More...
Public Member Functions | |
| override string | ToString () |
| Returns a System.String representing this DisplayResolution. More... | |
| override bool | Equals (object obj) |
| Determines whether the specified resolutions are equal. More... | |
| override int | GetHashCode () |
| Returns a unique hash representing this resolution. More... | |
Static Public Member Functions | |
| static bool | operator== (DisplayResolution left, DisplayResolution right) |
| Compares two instances for equality. More... | |
| static bool | operator!= (DisplayResolution left, DisplayResolution right) |
| Compares two instances for inequality. More... | |
Properties | |
| Rectangle | Bounds [get] |
| Gets a System.Drawing.Rectangle that contains the bounds of this display device. More... | |
| int | Width [get, set] |
| Gets a System.Int32 that contains the width of this display in pixels. More... | |
| int | Height [get, set] |
| Gets a System.Int32 that contains the height of this display in pixels. More... | |
| int | BitsPerPixel [get, set] |
| Gets a System.Int32 that contains number of bits per pixel of this display. Typical values include 8, 16, 24 and 32. More... | |
| float | RefreshRate [get, set] |
| Gets a System.Single representing the vertical refresh rate of this display. More... | |
Contains information regarding a monitor's display resolution.
| override bool OpenTK.DisplayResolution.Equals | ( | object | obj | ) |
Determines whether the specified resolutions are equal.
| obj | The System.Object to check against. |
| override int OpenTK.DisplayResolution.GetHashCode | ( | ) |
Returns a unique hash representing this resolution.
|
static |
Compares two instances for inequality.
| left | The first instance. |
| right | The second instance. |
|
static |
Compares two instances for equality.
| left | The first instance. |
| right | The second instance. |
| override string OpenTK.DisplayResolution.ToString | ( | ) |
Returns a System.String representing this DisplayResolution.
|
getset |
Gets a System.Int32 that contains number of bits per pixel of this display. Typical values include 8, 16, 24 and 32.
|
get |
Gets a System.Drawing.Rectangle that contains the bounds of this display device.
|
getset |
Gets a System.Int32 that contains the height of this display in pixels.
|
getset |
Gets a System.Single representing the vertical refresh rate of this display.
|
getset |
Gets a System.Int32 that contains the width of this display in pixels.