Package com.jsevy.jdxf
Class DXFInsert
- java.lang.Object
-
- com.jsevy.jdxf.DXFDatabaseObject
-
- com.jsevy.jdxf.DXFEntity
-
- com.jsevy.jdxf.DXFGraphicalEntity
-
- com.jsevy.jdxf.DXFInsert
-
- All Implemented Interfaces:
DXFObject
public class DXFInsert 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 DXFInsert(DXFBlock block, java.awt.geom.AffineTransform graphicsTransform, DXFGraphics graphics)
Create a DXFInsert entity to insert the supplied DXFBlock into the Entities section of the DXF output.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDXFHatchInfo()
java.lang.String
toDXFString()
Implementation of DXFObject interface method; creates DXF text representing the line segment.-
Methods inherited from class com.jsevy.jdxf.DXFEntity
setPrecisionDigits
-
Methods inherited from class com.jsevy.jdxf.DXFDatabaseObject
getDXFLineWeight, getHandle, getHandleCount
-
-
-
-
Constructor Detail
-
DXFInsert
public DXFInsert(DXFBlock block, java.awt.geom.AffineTransform graphicsTransform, DXFGraphics graphics)
Create a DXFInsert entity to insert the supplied DXFBlock into the Entities section of the DXF output. The supplied AffineTransform is used to position/rotate the block.- Parameters:
block
- DXFBlock to be inserted into the DXF entities outputgraphicsTransform
- Transform to position/rotate the blockgraphics
- Associated DXFGraphics object
-
-
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
-
getDXFHatchInfo
public java.lang.String getDXFHatchInfo()
- Overrides:
getDXFHatchInfo
in classDXFGraphicalEntity
-
-