Constructor and Description |
---|
DXFSpline(int degree,
java.util.Vector<SplineControlPoint> controlPoints,
boolean throughEndpoints,
java.awt.Graphics2D graphics)
Create a spline of specified degree for the specified control points.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDXFHatchInfo() |
java.lang.String |
toDXFString()
Implementation of DXFObject interface method; creates DXF text representing the spline.
|
getDXFLineWeight
getHandle, getHandleCount
public DXFSpline(int degree, java.util.Vector<SplineControlPoint> controlPoints, boolean throughEndpoints, java.awt.Graphics2D graphics)
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 + 1graphics
- The graphics object specifying parameters for this entity (color, thickness)public java.lang.String toDXFString()
toDXFString
in interface DXFObject
toDXFString
in class DXFEntity
public java.lang.String getDXFHatchInfo()
getDXFHatchInfo
in class DXFEntity