
## add_rect {#aspose.pydrawing.RectangleF}

Appends a rectangle to the current path as a complete subpath.



```python
def add_rect(self, rect):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| rect | aspose.pydrawing.RectangleF | A rectangle to draw. |



### See Also
* module [`aspose.html.rendering.doc`](../../)
* class [`DocDevice`](/html/python-net/aspose.html.rendering.doc/docdevice)
