JavaFX Quad CurveQuad curve is a plain curve of order two. This is different from Cubic Curve in the sense that it doesn't have two control points like cubic curve. It rather has a single control point (X,Y). In JavaFX, we can instantiate javafx.scene.shape.QuadCurve class to create a Quad curve. The class contains various properties which are defined in the table below. The class also contains the setter methods which can be used to set the properties to get the quad curve according to our requirements. PropertiesThe properties of the class along with their setter methods are given in the table below.
ExampleNext TopicJavaFX Color |