public readonly record struct DesktopRect : IEquatable<DesktopRect> A rectangle in a platform's screen coordinates, which grow right and down from the primary monitor's top-left corner.
Parameters
XThe left edge.
YThe top edge.
WidthThe width.
HeightThe height.
Constructors
DesktopRect
public DesktopRect(int X, int Y, int Width, int Height) A rectangle in a platform's screen coordinates, which grow right and down from the primary monitor's top-left corner.
Parameters
XThe left edge.
YThe top edge.
WidthThe width.
HeightThe height.
Properties
Height
public int Height { get; init; } The height.
Width
public int Width { get; init; } The width.
X
public int X { get; init; } The left edge.
Y
public int Y { get; init; } The top edge.