JavaFX Cubic Curve
In general, cubic curve is a curve of order 3. In JavaFX, we can create cubic curve by just instantiating javafx.scene.shape.CubicCurve class. The class contains various properties defined in the table along with the setter methods. These properties needs to be set in order to create the cubic curve as required.
The properties of Cubic Curve class have the following properties.
||X coordinate of first control point of cubic curve.
||X coordinate of second control point of cubic curve
||Y coordinate of first control point of cubic curve
||Y coordinate of second control point of cubic curve
||X coordinate of end point of cubic curve
||Y coordinate of end point of cubic curve.
||X coordinate of starting point of cubic curve
||Y coordinate of starting point of cubic curve