Struct ScreenData
Represents screen-related data.
public struct ScreenData : IEquatable<ScreenData>
- Implements
- Inherited Members
Fields
Height
The height of the screen.
public ushort Height
Field Value
- ushort
The height of the screen.
Number
The ordinal number of the screen.
public byte Number
Field Value
- byte
The ordinal number of the screen.
Width
The width of the screen.
public ushort Width
Field Value
- ushort
The width of the screen.
X
The X-coordinate of the screen.
public short X
Field Value
- short
The X-coordinate of the screen.
Y
The Y-coordinate of the screen.
public short Y
Field Value
- short
The Y-coordinate of the screen.
Methods
Equals(ScreenData)
Compares this object to another object for equality.
public readonly bool Equals(ScreenData data)
Parameters
data
ScreenDataThe object to compare
Returns
Equals(object?)
Compares this object to another object for equality.
public override readonly bool Equals(object? obj)
Parameters
obj
objectThe object to compare
Returns
GetHashCode()
Gets the hash code of this object.
public override readonly int GetHashCode()
Returns
- int
The hash code of this object.
ToString()
Returns the string representation of this object.
public override readonly string ToString()
Returns
- string
The string representation of this object.
Operators
operator ==(ScreenData, ScreenData)
Compares two objects for equality.
public static bool operator ==(ScreenData left, ScreenData right)
Parameters
left
ScreenDataThe first object to compare
right
ScreenDataThe second object to compare
Returns
operator !=(ScreenData, ScreenData)
Compares two objects for inequality.
public static bool operator !=(ScreenData left, ScreenData right)
Parameters
left
ScreenDataThe first object to compare
right
ScreenDataThe second object to compare