
## add_path {#aspose.html.dom.canvas.Path2D}

Adds to the path the path given by the argument.



```python
def add_path(self, path):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| path | [`Path2D`](/html/python-net/aspose.html.dom.canvas/path2d) | A Path2D path to add. |


## add_path {#aspose.html.dom.canvas.Path2D-aspose.html.dom.svg.datatypes.SVGMatrix}

Adds to the path the path given by the argument.



```python
def add_path(self, path, transformation):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| path | [`Path2D`](/html/python-net/aspose.html.dom.canvas/path2d) | A Path2D path to add. |
| transformation | aspose.html.dom.svg.datatypes.SVGMatrix | An SVGMatrix to be used as the transformation matrix for the path that is added. |



### See Also
* module [`aspose.html.dom.canvas`](../../)
* class [`Path2D`](/html/python-net/aspose.html.dom.canvas/path2d)
