cubic_to
Description:
Adds a [cubic Bézier curve](https://en.
wikipedia.org/wiki/B%C3a9zier_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>
Parameters:
this |
a `GskPathBuilder` |
x1 |
x coordinate of first control point |
y1 |
y coordinate of first control point |
x2 |
x coordinate of second control point |
y2 |
y coordinate of second control point |
x3 |
x coordinate of the end of the curve |
y3 |
y coordinate of the end of the curve |