---
title: "PathBuilder.S"
url: "https://reference.aspose.com/svg/net/aspose.svg.builder/pathbuilder/s/"
product: "Aspose.SVG for .NET API Reference"
description: "PathBuilder S method. Adds a Smooth Cubic Bezier Curve To command to the path data"
---

## PathBuilder.S method

Adds a 'Smooth Cubic Bezier Curve To' command to the path data.

```csharp
public PathBuilder S(double x2, double y2, double x, double y)
```

| Parameter | Type | Description |
| --- | --- | --- |
| x2 | Double | The x-coordinate of the second control point. |
| y2 | Double | The y-coordinate of the second control point. |
| x | Double | The x-coordinate of the end point of the curve. |
| y | Double | The y-coordinate of the end point of the curve. |

### Return Value

The current PathBuilder instance.

### See Also

* class [PathBuilder](../)
* namespace [Aspose.Svg.Builder](../../../aspose.svg.builder/)
* assembly [Aspose.SVG](../../../)
