## AddPath(Path2D) {#addpath}

将参数给定的路径添加到路径中。

```csharp
public void AddPath(Path2D path)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| path | Path2D | 要添加的 Path2D 路径。 |

### 也可以看看

* class [Path2D](../)
* 命名空间 [Aspose.Html.Dom.Canvas](../../path2d/)
* 部件 [Aspose.HTML](../../../)

---

## AddPath(Path2D, SVGMatrix) {#addpath_1}

将参数给定的路径添加到路径中。

```csharp
public void AddPath(Path2D path, SVGMatrix transformation)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| path | Path2D | 要添加的 Path2D 路径。 |
| transformation | SVGMatrix | 一个 SVGMatrix 用作添加路径的变换矩阵。 |

### 也可以看看

* class [SVGMatrix](../../../aspose.html.dom.svg.datatypes/svgmatrix/)
* class [Path2D](../)
* 命名空间 [Aspose.Html.Dom.Canvas](../../path2d/)
* 部件 [Aspose.HTML](../../../)


