Struct Screen
Represents a screen as part of a remote framebuffer.
Implements
IEquatable<Screen>
Namespace: MarcusW.VncClient
Assembly: MarcusW.VncClient.dll
Syntax
public struct Screen : IEquatable<Screen>
Constructors
| Improve this Doc View SourceScreen(UInt32, Rectangle, UInt32)
Initializes a new instance of the Screen structure.
Declaration
public Screen(uint id, Rectangle rectangle, uint flags)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | id | The screen id. |
Rectangle | rectangle | |
System.UInt32 | flags | The flags. |
Properties
| Improve this Doc View SourceFlags
Gets the flags.
Declaration
public uint Flags { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Id
Gets the screen id.
Declaration
public uint Id { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Rectangle
Gets the rectangle of the screen on the framebuffer.
Declaration
public Rectangle Rectangle { get; }
Property Value
Type | Description |
---|---|
Rectangle |
Methods
| Improve this Doc View SourceEquals(Screen)
Declaration
public bool Equals(Screen other)
Parameters
Type | Name | Description |
---|---|---|
Screen | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Nullable<Object>)
Declaration
public override bool Equals(object? obj)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Object> | obj |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
ToString()
Returns the string representation of the screen.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | The string representation of the screen. |
Operators
| Improve this Doc View SourceEquality(Screen, Screen)
Checks for equality between two Screens.
Declaration
public static bool operator ==(Screen left, Screen right)
Parameters
Type | Name | Description |
---|---|---|
Screen | left | The first screen. |
Screen | right | The second screen. |
Returns
Type | Description |
---|---|
System.Boolean | True if the screens are equal, otherwise false. |
Inequality(Screen, Screen)
Checks for inequality between two Screens.
Declaration
public static bool operator !=(Screen left, Screen right)
Parameters
Type | Name | Description |
---|---|---|
Screen | left | The first screen. |
Screen | right | The second screen. |
Returns
Type | Description |
---|---|
System.Boolean | True if the screens are unequal, otherwise false. |
Implements
IEquatable<>