Rectangle constructor
init
Constructs a new instance of Rectangle
def __init__(self):
...
init
Creates a new instance of Rectangle
def __init__(self, x, y, width, height):
...
| Parameter | Type | Description |
|---|---|---|
| x | float | X position of rectangle |
| y | float | Y position of Rectangle |
| width | float | Width of Rectangle |
| height | float | Height of Rectangle |
See Also
- module
groupdocs.comparison.result - class
Rectangle