2D Objects Properties Smooth



This property is of the type Boolean. If this value is true, then the edges of the shape will be smooth.

You can set value to this property using the method setSmooth() as follows −

path.setSmooth(false);

By default, the smooth value is true. Following is a diagram of a triangle with both smooth values.

smooth
javafx_2d_shapes.htm
Advertisements