[]
Initializes a new instance of the RectangleD structure.
public RectangleD(PointD location, SizeD size)
Type | Name | Description |
---|---|---|
PointD | location | The location (coordinates of the top left corner) of the rectangle. |
SizeD | size | The size of the rectangle. |
Initializes a new instance of the RectangleD structure.
public RectangleD(double x, double y, double width, double height)
Type | Name | Description |
---|---|---|
double | x | The X coordinate of the left side of the rectangle. |
double | y | The Y coordinate of the top side of the rectangle. |
double | width | The width of the rectangle. |
double | height | The height of the rectangle. |