Constructor and Description |
---|
DXFLWPolyline(int numVertices,
java.util.Vector<RealPoint> vertices,
boolean closed,
java.awt.Graphics2D graphics)
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 |
---|---|
java.lang.String |
toDXFString()
Implementation of DXFObject interface method; creates DXF text representing the polyline.
|
getDXFHatchInfo, getDXFLineWeight
getHandle, getHandleCount
public DXFLWPolyline(int numVertices, java.util.Vector<RealPoint> vertices, boolean closed, java.awt.Graphics2D graphics)
numVertices
- The number of vertices specified in the vertex listvertices
- The verticesclosed
- If true, adds a segment between the last and first pointsgraphics
- The graphics object specifying parameters for this entity (color, thickness)public java.lang.String toDXFString()
toDXFString
in interface DXFObject
toDXFString
in class DXFEntity