cubicTo

fun cubicTo(x1: <Error class: unknown class>, y1: <Error class: unknown class>, x2: <Error class: unknown class>, y2: <Error class: unknown class>, x3: <Error class: unknown class>, y3: <Error class: unknown class>)

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.

Cubic To

Since

4.14

Parameters

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