clear_rect method
clear_rect
Clears the specified rectangular area to transparent.
def clear_rect(self, x, y, w, h):
...
| Parameter | Type | Description |
|---|---|---|
| x | float | The x-coordinate of the top-left corner of the area to clear. |
| y | float | The y-coordinate of the top-left corner of the area to clear. |
| w | float | The width of the area to clear. |
| h | float | The height of the area to clear. |
See Also
- module
aspose.svg.rendering - class
ICanvas