Table of Contents

Struct VhRect

Namespace
VpnHood.Net.Toolkit.Graphics
Assembly
VpnHood.Net.Toolkit.dll

Represents a rectangle by its position and size.

public readonly record struct VhRect : IEquatable<VhRect>
Implements
Inherited Members

Constructors

VhRect(double, double, double, double)

Represents a rectangle by its position and size.

public VhRect(double X, double Y, double Width, double Height)

Parameters

X double

The left edge.

Y double

The top edge.

Width double

The width.

Height double

The height.

Properties

Height

The height.

public double Height { get; init; }

Property Value

double

Width

The width.

public double Width { get; init; }

Property Value

double

X

The left edge.

public double X { get; init; }

Property Value

double

Y

The top edge.

public double Y { get; init; }

Property Value

double