## ShapePath::CubicBezierTo method


Appends a cubic Bézier curve to the current figure. The starting point is the end point of the current figure.Unit: Pixel.

```cpp
void Aspose::Cells::Drawing::ShapePath::CubicBezierTo(float ctrX1, float ctrY1, float ctrX2, float ctrY2, float endX, float endY)
```


| Parameter | Type | Description |
| --- | --- | --- |
| ctrX1 | float | The x-coordinate of the first control point for the curve(Unit: Pixel). |
| ctrY1 | float | The y-coordinate of the first control point for the curve(Unit: Pixel). |
| ctrX2 | float | The x-coordinate of the second control point for the curve(Unit: Pixel). |
| ctrY2 | float | The y-coordinate of the second control point for the curve(Unit: Pixel). |
| endX | float | The x-coordinate of the endpoint of the curve(Unit: Pixel). |
| endY | float | The y-coordinate of the endpoint of the curve(Unit: Pixel). |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [ShapePath](../)
* Namespace [Aspose::Cells::Drawing](../../)
* Library [Aspose.Cells for C++](../../../)
