Class DXFLWPolyline

  • All Implemented Interfaces:
    DXFObject

    public class DXFLWPolyline
    extends DXFEntity
    Class representing a set of line segments defining a (possibly closed) polygon.
    • 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 list
        vertices - The vertices
        closed - If true, adds a segment between the last and first points
        graphics - The graphics object specifying parameters for this entity (color, thickness)
    • Method Detail