Adds a cubic Bézier curve from the current point to x3, y3 with x1, y1 and x2, y2 as the control points.
After this, x3, y3 will be the new current point.
<picture> <source srcset="cubic-dark.png" media="(prefers-color-scheme: dark)"> <img alt="Cubic To" src="cubic-light.png"> </picture>
x coordinate of first control point
y coordinate of first control point
x coordinate of second control point
y coordinate of second control point
x coordinate of the end of the curve
y coordinate of the end of the curve
Adds a cubic Bézier curve from the current point to x3, y3 with x1, y1 and x2, y2 as the control points.
After this, x3, y3 will be the new current point.
<picture> <source srcset="cubic-dark.png" media="(prefers-color-scheme: dark)"> <img alt="Cubic To" src="cubic-light.png"> </picture>