rCubicTo

fun rCubicTo(dx1: Float, dy1: Float, dx2: Float, dy2: Float, dx3: Float, dy3: Float): Path

Adds cubic from last point towards vector (dx1, dy1), then towards vector (dx2, dy2), to vector (dx3, dy3). If Path is empty, or last PathVerb is PathVerb.CLOSE, last point is set to (0, 0) before adding cubic.

Appends PathVerb.MOVE to verb array and (0, 0) to Point array, if needed; then appends PathVerb.CUBIC to verb array; and appends cubic control and cubic end to Point array.

Cubic control is last point plus vector (dx1, dy1).

Cubic end is last point plus vector (dx2, dy2).

Function name stands for "relative cubic to".

Return

reference to Path

Parameters

dx1

offset from last point to first cubic control on x-axis

dy1

offset from last point to first cubic control on y-axis

dx2

offset from last point to second cubic control on x-axis

dy2

offset from last point to second cubic control on y-axis

dx3

offset from last point to cubic end on x-axis

dy3

offset from last point to cubic end on y-axis