fill_rect method
fill_rect
Draws a filled rectangle at (x, y) position whose size is determined by width and height.
def fill_rect(self, x, y, w, h):
...
| Parameter | Type | Description |
|---|---|---|
| x | float | The x axis of the coordinate for the rectangle starting point. |
| y | float | The y axis of the coordinate for the rectangle starting point. |
| w | float | The rectangle’s width. |
| h | float | The rectangle’s height. |
See Also
- module
aspose.html.dom.canvas - class
ICanvasRenderingContext2D