Class DXFLayer

  • All Implemented Interfaces:
    DXFObject

    public class DXFLayer
    extends DXFTableRecord
    Class representing a layer for use in LAYER table.
    Author:
    jsevy
    • Constructor Summary

      Constructors 
      Constructor Description
      DXFLayer​(java.lang.String name)
      Create a LAYER table record object with specified name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Get the name of the layer, for use when generating DXF for entities
      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

      • DXFLayer

        public DXFLayer​(java.lang.String name)
        Create a LAYER table record object with specified name.
        Parameters:
        name - name of table record
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the name of the layer, for use when generating DXF for entities
        Returns:
        The name of the layer
      • 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 DXFTableRecord