FigureShape.RemoveCurve
From Xojo Documentation
Method
FigureShape.RemoveCurve(Curve as CurveShape)
New in 2019r2
Supported for all project types and targets.
New in 2019r2
Supported for all project types and targets.
Removes a curve, specified either by its reference.