Constructor and Description |
---|
DXFLWPolyline(int numVertices,
Vector<RealPoint> vertices,
boolean closed,
Paint paint)
Create a set of line segments that connects the specified points, including a segment from the last
to the first if closed is indicated.
|
Modifier and Type | Method and Description |
---|---|
String |
toDXFString()
Implementation of DXFObject interface method; creates DXF text representing the polyline.
|
public DXFLWPolyline(int numVertices, Vector<RealPoint> vertices, boolean closed, Paint paint)
numVertices
- The number of vertices specified in the vertex listvertices
- The verticesclosed
- If true, adds a segment between the last and first pointspaint
- The graphical Paint object specifying parameters for the line (color, thickness)public String toDXFString()
toDXFString
in interface DXFObject