RectangleF constructor
init(self, x=0.0, y=0.0, width=0.0, height=0.0)
Creates a rectangle with the specified location and size.
def __init__(self, x=0.0, y=0.0, width=0.0, height=0.0):
...
| 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. |
Exceptions
| Exception | Description |
|---|---|
| TypeError | A component is not a number. |
See Also
- class
RectangleF - module
aspose.slides - library
Aspose.Slides