|Constructor and Description|
Create a spline of specified degree for the specified control points.
|Modifier and Type||Method and Description|
Implementation of DXFObject interface method; creates DXF text representing the spline.
public DXFSpline(int degree, Vector<SplineControlPoint> controlPoints, boolean throughEndpoints, Paint paint)
degree- Degree of the piecewise-polynomial spline segments
controlPoints- Locations and weights of the control points for the spline
throughEndpoints- If true, the spline will be forced to pass through the endpoints by setting the end control point multiplicities to degree + 1
paint- The graphical Paint object specifying parameters for the line (color, thickness)