Package com.jsevy.jdxf
Class DXFHatch
- java.lang.Object
-
- com.jsevy.jdxf.DXFDatabaseObject
-
- com.jsevy.jdxf.DXFEntity
-
- com.jsevy.jdxf.DXFGraphicalEntity
-
- com.jsevy.jdxf.DXFHatch
-
- All Implemented Interfaces:
DXFObject
public class DXFHatch extends DXFGraphicalEntity
Class representing a line segment.- Author:
- jsevy
-
-
Field Summary
-
Fields inherited from class com.jsevy.jdxf.DXFDatabaseObject
LINEWEIGHT_BYBLOCK, LINEWEIGHT_BYLAYER
-
-
Constructor Summary
Constructors Constructor Description DXFHatch(java.util.Vector<java.util.Vector<DXFGraphicalEntity>> boundaries, DXFGraphics graphics)
Create a Hatch with the supplied list of boundaries
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toDXFString()
Implementation of DXFObject interface method; creates DXF text representing the line segment.-
Methods inherited from class com.jsevy.jdxf.DXFGraphicalEntity
getDXFHatchInfo
-
Methods inherited from class com.jsevy.jdxf.DXFEntity
setPrecisionDigits
-
Methods inherited from class com.jsevy.jdxf.DXFDatabaseObject
getDXFLineWeight, getHandle, getHandleCount
-
-
-
-
Constructor Detail
-
DXFHatch
public DXFHatch(java.util.Vector<java.util.Vector<DXFGraphicalEntity>> boundaries, DXFGraphics graphics)
Create a Hatch with the supplied list of boundaries- Parameters:
boundaries
- The boundaries of the hatch, as a vector of vectors of DXF entitiesgraphics
- graphics instance, used to determine current layer
-
-
Method Detail
-
toDXFString
public java.lang.String toDXFString()
Implementation of DXFObject interface method; creates DXF text representing the line segment.- Specified by:
toDXFString
in interfaceDXFObject
- Overrides:
toDXFString
in classDXFGraphicalEntity
-
-