RectangleF constructor
Contents
[
Hide
]init
Constructs a new instance of RectangleF
def __init__(self):
...
init
Initializes a new instance of the RectangleF structure with the specified location and size.
def __init__(self, location, size):
...
| Parameter | Type | Description |
|---|---|---|
| location | PointF | A PointF that represents the upper-left corner of the rectangular region. |
| size | SizeF | A SizeF that represents the width and height of the rectangular region. |
init
Initializes a new instance of the RectangleF structure with the specified location and size.
def __init__(self, x, y, width, height):
...
| Parameter | Type | Description |
|---|---|---|
| x | float | The x-coordinate of the upper-left corner of the rectangle. |
| y | float | The y-coordinate of the upper-left corner of the rectangle. |
| width | float | The width of the rectangle. |
| height | float | The height of the rectangle. |
See Also
- module
aspose.cad - class
PointF - class
RectangleF - class
SizeF