cubicToPoint

open fun cubicToPoint(controlX1: Float, controlY1: Float, controlX2: Float, controlY2: Float, toX: Float, toY: Float)

Add a cubic to the ShapePath.

Note: This operation will not draw compatibility shadows. This means no shadow will be drawn on API <21 and a shadow will only be drawn on API <29 if the final path is convex.

Parameters

controlX1

the 1st control point x of the arc.

controlY1

the 1st control point y of the arc.

controlX2

the 2nd control point x of the arc.

controlY2

the 2nd control point y of the arc.

toX

the end x of the arc.

toY

the end y of the arc.