quadTo

fun quadTo(x1: <Error class: unknown class>, y1: <Error class: unknown class>, x2: <Error class: unknown class>, y2: <Error class: unknown class>)

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.

Quad To

Since

4.14

Parameters

x1

x coordinate of control point

y1

y coordinate of control point

x2

x coordinate of the end of the curve

y2

y coordinate of the end of the curve