Class Rect
Rectangle.
public sealed record Rect : IEquatable<Rect>
- Inheritance
-
Rect
- Implements
- Inherited Members
Constructors
Rect(double, double, double, double)
Rectangle.
public Rect(double X, double Y, double Width, double Height)
Parameters
XdoubleX coordinate
YdoubleY coordinate
WidthdoubleRectangle width
HeightdoubleRectangle height
Properties
Height
Rectangle height
public double Height { get; init; }
Property Value
Width
Rectangle width
public double Width { get; init; }
Property Value
X
X coordinate
public double X { get; init; }
Property Value
Y
Y coordinate
public double Y { get; init; }