rect method
rect
Adds a rectangle to the current path.
def rect(self, x, y, width, height):
...
| Parameter | Type | Description |
|---|---|---|
| x | float | The x-coordinate of the top-left corner of the rectangle. |
| y | float | The y-coordinate of the top-left corner of the rectangle. |
| width | float | The width of the rectangle. |
| height | float | The height of the rectangle. |
See Also
- module
aspose.svg.rendering - class
ICanvas