프로퍼티 | 타입 | 설명 | |
---|---|---|---|
DisplayResolution | System |
메소드 | 설명 | |
---|---|---|
DisplayResolution ( int width, int height, int bitsPerPixel, float refreshRate, |
Creates a new DisplayResolution object for the specified DisplayDevice. OpenTK will select the closest match between all available resolutions on the specified DisplayDevice. |
|
DisplayResolution ( int x, int y, int width, int height, int bitsPerPixel, float refreshRate ) : System | ||
Equals ( object obj ) : bool |
Determines whether the specified resolutions are equal.
|
|
GetHashCode ( ) : int |
Returns a unique hash representing this resolution.
|
|
ToString ( ) : string |
Returns a System.String representing this DisplayResolution.
|
|
operator ( ) : bool |
Compares two instances for equality.
|
메소드 | 설명 | |
---|---|---|
DisplayResolution ( ) : System |
public DisplayResolution ( int width, int height, int bitsPerPixel, float refreshRate, |
||
width | int | The requested width in pixels. |
height | int | The requested height in pixels. |
bitsPerPixel | int | The requested bits per pixel in bits. |
refreshRate | float | The requested refresh rate in hertz. |
device | ||
리턴 | System |
public DisplayResolution ( int x, int y, int width, int height, int bitsPerPixel, float refreshRate ) : System | ||
x | int | |
y | int | |
width | int | |
height | int | |
bitsPerPixel | int | |
refreshRate | float | |
리턴 | System |
public Equals ( object obj ) : bool | ||
obj | object | The System.Object to check against. |
리턴 | bool |