Class DXFHatch

  • All Implemented Interfaces:
    DXFObject

    public class DXFHatch
    extends DXFEntity
    Class representing a line segment.
    Author:
    jsevy
    • Constructor Detail

      • DXFHatch

        public DXFHatch​(java.util.Vector<java.util.Vector<DXFEntity>> boundaries,
                        java.awt.Color color)
        Create a Hatch with the supplied list of boundaries
        Parameters:
        boundaries - The boundaries of the hatch, as a vector of vectors of DXF entities
        color - The color of the hatch
    • Method Detail

      • toDXFString

        public java.lang.String toDXFString()
        Implementation of DXFObject interface method; creates DXF text representing the line segment.
        Specified by:
        toDXFString in interface DXFObject
        Overrides:
        toDXFString in class DXFEntity