---
title: "Path2D.ArcTo"
url: "https://reference.aspose.com/html/net/aspose.html.dom.canvas/path2d/arcto/"
product: "Aspose.HTML for .NET API Reference"
description: "Path2D ArcTo method. Adds an arc to the path with the given control points and radius connected to the previous point by a straight line"
---

## Path2D.ArcTo method

Adds an arc to the path with the given control points and radius, connected to the previous point by a straight line.

```csharp
public void ArcTo(double x1, double y1, double x2, double y2, double radius)
```

| Parameter | Type | Description |
| --- | --- | --- |
| x1 | Double | x-axis coordinates for the first control point. |
| y1 | Double | y-axis coordinates for the first control point. |
| x2 | Double | x-axis coordinates for the second control point. |
| y2 | Double | y-axis coordinates for the second control point. |
| radius | Double | The arc's radius. |

### See Also

* class [Path2D](../)
* namespace [Aspose.Html.Dom.Canvas](../../../aspose.html.dom.canvas/)
* assembly [Aspose.HTML](../../../)
