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