Package com.jsevy.jdxf
Class DXFLWPolyline
- java.lang.Object
-
- com.jsevy.jdxf.DXFDatabaseObject
-
- com.jsevy.jdxf.DXFEntity
-
- com.jsevy.jdxf.DXFLWPolyline
-
-
Field Summary
-
Fields inherited from class com.jsevy.jdxf.DXFDatabaseObject
handle
-
-
Constructor Summary
Constructors Constructor Description DXFLWPolyline(int numVertices, Vector<RealPoint> vertices, boolean closed, 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toDXFString()
Implementation of DXFObject interface method; creates DXF text representing the polyline.-
Methods inherited from class com.jsevy.jdxf.DXFEntity
getDXFHatchInfo, getDXFLineWeight
-
Methods inherited from class com.jsevy.jdxf.DXFDatabaseObject
getHandle, getHandleCount
-
-
-
-
Constructor Detail
-
DXFLWPolyline
public DXFLWPolyline(int numVertices, Vector<RealPoint> vertices, boolean closed, 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.- Parameters:
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)
-
-
Method Detail
-
toDXFString
public String toDXFString()
Implementation of DXFObject interface method; creates DXF text representing the polyline.- Specified by:
toDXFString
in interfaceDXFObject
- Overrides:
toDXFString
in classDXFEntity
-
-