Package com.jsevy.jdxf
Class DXFEntity
- java.lang.Object
-
- com.jsevy.jdxf.DXFDatabaseObject
-
- com.jsevy.jdxf.DXFEntity
-
- All Implemented Interfaces:
DXFObject
- Direct Known Subclasses:
DXFBlock
,DXFBlockEnd
,DXFGraphicalEntity
public class DXFEntity extends DXFDatabaseObject
Just a special case of DXFObjects used for graphical entities.- Author:
- jsevy
-
-
Field Summary
-
Fields inherited from class com.jsevy.jdxf.DXFDatabaseObject
LINEWEIGHT_BYBLOCK, LINEWEIGHT_BYLAYER
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDXFHatchInfo()
static void
setPrecisionDigits(int decimalDigits)
Set the number of digits when a quantity is truncated with a call to setPrecision()java.lang.String
toDXFString()
Implement DXFObject method; just print out group code and value of handle.-
Methods inherited from class com.jsevy.jdxf.DXFDatabaseObject
getDXFLineWeight, getHandle, getHandleCount
-
-
-
-
Constructor Detail
-
DXFEntity
public DXFEntity(DXFLayer layer)
-
-
Method Detail
-
setPrecisionDigits
public static void setPrecisionDigits(int decimalDigits)
Set the number of digits when a quantity is truncated with a call to setPrecision()- Parameters:
decimalDigits
- Number of digits following the decimal point, between 0 and 16
-
toDXFString
public java.lang.String toDXFString()
Description copied from class:DXFDatabaseObject
Implement DXFObject method; just print out group code and value of handle.- Specified by:
toDXFString
in interfaceDXFObject
- Overrides:
toDXFString
in classDXFDatabaseObject
-
getDXFHatchInfo
public java.lang.String getDXFHatchInfo()
-
-