## AddPath(*[Path2D](../)*) {#addpath}

Adds to the path the path given by the argument.

```csharp
public void AddPath(Path2D path)
```

| Parameter | Type | Description |
| --- | --- | --- |
| path | Path2D | A Path2D path to add. |

### See Also

* class [Path2D](../)
* namespace [Aspose.Html.Dom.Canvas](../../../aspose.html.dom.canvas/)
* assembly [Aspose.HTML](../../../)

---

## AddPath(*[Path2D](../), [SVGMatrix](../../../aspose.html.dom.svg.datatypes/svgmatrix/)*) {#addpath_1}

Adds to the path the path given by the argument.

```csharp
public void AddPath(Path2D path, SVGMatrix transformation)
```

| Parameter | Type | Description |
| --- | --- | --- |
| path | Path2D | A Path2D path to add. |
| transformation | SVGMatrix | An SVGMatrix to be used as the transformation matrix for the path that is added. |

### See Also

* class [SVGMatrix](../../../aspose.html.dom.svg.datatypes/svgmatrix/)
* class [Path2D](../)
* namespace [Aspose.Html.Dom.Canvas](../../../aspose.html.dom.canvas/)
* assembly [Aspose.HTML](../../../)
