Struct ScreenData
Represents screen-related data.
Implements
Inherited Members
Namespace: SharpHook.Native
Assembly: SharpHook.dll
Syntax
public struct ScreenData : IEquatable<ScreenData>
Fields
| Improve this Doc View SourceHeight
The height of the screen.
Declaration
public ushort Height
Field Value
Type | Description |
---|---|
UInt16 | The height of the screen. |
Number
The ordinal number of the screen.
Declaration
public byte Number
Field Value
Type | Description |
---|---|
Byte | The ordinal number of the screen. |
Width
The width of the screen.
Declaration
public ushort Width
Field Value
Type | Description |
---|---|
UInt16 | The width of the screen. |
X
The X-coordinate of the screen.
Declaration
public short X
Field Value
Type | Description |
---|---|
Int16 | The X-coordinate of the screen. |
Y
The Y-coordinate of the screen.
Declaration
public short Y
Field Value
Type | Description |
---|---|
Int16 | The Y-coordinate of the screen. |
Methods
| Improve this Doc View SourceEquals(ScreenData)
Compares this object to another object for equality.
Declaration
public bool Equals(ScreenData data)
Parameters
Type | Name | Description |
---|---|---|
ScreenData | data | The object to compare |
Returns
Type | Description |
---|---|
Boolean | true if the objects are equal. Otherwise, false. |
Equals(Object)
Compares this object to another object for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The object to compare |
Returns
Type | Description |
---|---|
Boolean | true if the objects are equal. Otherwise, false. |
Overrides
| Improve this Doc View SourceGetHashCode()
Gets the hash code of this object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | The hash code of this object. |
Overrides
| Improve this Doc View SourceToString()
Returns the string representation of this object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The string representation of this object. |
Overrides
Operators
| Improve this Doc View SourceEquality(ScreenData, ScreenData)
Compares two objects for equality.
Declaration
public static bool operator ==(ScreenData left, ScreenData right)
Parameters
Type | Name | Description |
---|---|---|
ScreenData | left | The first object to compare |
ScreenData | right | The second object to compare |
Returns
Type | Description |
---|---|
Boolean | true if the objects are equal. Otherwise, false. |
Inequality(ScreenData, ScreenData)
Compares two objects for inequality.
Declaration
public static bool operator !=(ScreenData left, ScreenData right)
Parameters
Type | Name | Description |
---|---|---|
ScreenData | left | The first object to compare |
ScreenData | right | The second object to compare |
Returns
Type | Description |
---|---|
Boolean | true if the objects are not equal. Otherwise, false. |