Constructor and Description |
---|
DXFSpline(int degree,
Vector<SplineControlPoint> controlPoints,
boolean throughEndpoints,
Paint paint)
Create a spline of specified degree for the specified control points.
|
Modifier and Type | Method and Description |
---|---|
String |
toDXFString()
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 segmentscontrolPoints
- Locations and weights of the control points for the splinethroughEndpoints
- If true, the spline will be forced to pass through the endpoints by setting the end
control point multiplicities to degree + 1paint
- The graphical Paint object specifying parameters for the line (color, thickness)public String toDXFString()
toDXFString
in interface DXFObject