Class DXFHeaderSegmentAutoCAD

  • All Implemented Interfaces:
    DXFObject

    public class DXFHeaderSegmentAutoCAD
    extends DXFHeaderSegment
    Class representing a header segment for use in HEADERS section. This one is specific to stuff that AutoCAD needs to keep it happy; while it's technically a subclass of the general DXFHeaderSegment class, it's handled distinctly.
    Author:
    jsevy
    • Constructor Summary

      Constructors 
      Constructor Description
      DXFHeaderSegmentAutoCAD​(java.lang.String acadVersion)
      Create a header object with AutoCAD-specific attributes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setHandleLimit​(int handleLimit)
      Set handleLimit; used after entities defined to trim from initial (large) value
      java.lang.String toDXFString()
      Implementation of DXFObject interface method; creates DXF text representing the object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DXFHeaderSegmentAutoCAD

        public DXFHeaderSegmentAutoCAD​(java.lang.String acadVersion)
        Create a header object with AutoCAD-specific attributes.
        Parameters:
        acadVersion - String indicating version of AutoCAD this is compatible with
    • Method Detail

      • setHandleLimit

        public void setHandleLimit​(int handleLimit)
        Set handleLimit; used after entities defined to trim from initial (large) value
        Parameters:
        handleLimit - Maximum value for handles used in the file
      • toDXFString

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