Rect Constructor
Rect(Double, Double, Double, Double)
Initializes a new instance of the Rect class with the specified location and size.
Declaration
public Rect(double x, double y, double width, double height)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | |
System.Double | y | |
System.Double | width | |
System.Double | height |
Rect(Point, Size)
Initializes a new instance of the Rect class with the specified location and size.
Declaration
public Rect(Point location, Size size)
Parameters
Type | Name | Description |
---|---|---|
Point | location | |
Size | size |
Rect(Vector4)
Initializes a new instance of the Rect struct from the specified System.Numerics.Vector4.
Declaration
public Rect(Vector4 vector)
Parameters
Type | Name | Description |
---|---|---|
System.Numerics.Vector4 | vector |