[]
Initializes a new instance of Rect object.
public Rect(double x, double y, double width, double height)
Type | Name | Description |
---|---|---|
double | x | The x-coordinate of the upper-left corner of the rect. |
double | y | The y-coordinate of the upper-left corner of the rect. |
double | width | The width of the rect. |
double | height | The height of the rect. |