cubic To Point
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
control X1
the 1st control point x of the arc.
control Y1
the 1st control point y of the arc.
control X2
the 2nd control point x of the arc.
control Y2
the 2nd control point y of the arc.
to X
the end x of the arc.
to Y
the end y of the arc.