[]
Initializes a new instance of the RectangleD structure.
public RectangleD(PointD location, SizeD size)
Public Sub New(location As PointD, size As SizeD)
| 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)
Public Sub New(x As Double, y As Double, width As Double, height As Double)
| 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. |