FigureShape.AddCubic

From Xojo Documentation

Method

FigureShape.AddCubic(X as Single, Y as Single, X2 as Single, Y2 as Single, CX as Single, CY as Single, CX2 as Single, CY2 as Single)

Supported for all project types and targets.

Adds a cubic curve to the figure.

Notes

The starting and ending points are x,y and x2, y2, respectively. This is a shortcut for adding a CurveShape. CX, CY, CX2, and CY2 are the control points, Control X(i) and ControlY(i) in a CurveShape.