Package com.jsevy.jdxf
Class DXFPoint
- java.lang.Object
-
- com.jsevy.jdxf.DXFDatabaseObject
-
- com.jsevy.jdxf.DXFEntity
-
- com.jsevy.jdxf.DXFGraphicalEntity
-
- com.jsevy.jdxf.DXFPoint
-
- All Implemented Interfaces:
DXFObject
public class DXFPoint extends DXFGraphicalEntity
Class representing a simple point in a diagram.- Author:
- jsevy
-
-
Field Summary
-
Fields inherited from class com.jsevy.jdxf.DXFDatabaseObject
LINEWEIGHT_BYBLOCK, LINEWEIGHT_BYLAYER
-
-
Constructor Summary
Constructors Constructor Description DXFPoint(RealPoint point, DXFGraphics graphics)
Create a point.
-
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 point.-
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
-
DXFPoint
public DXFPoint(RealPoint point, DXFGraphics graphics)
Create a point. The graphical representation of the point depends on the supplied Paint object, which specifies the size of the point through the line thickness.- Parameters:
point
- Location of the pointgraphics
- The graphics object specifying parameters for this entity (color, thickness)
-
-
Method Detail
-
toDXFString
public java.lang.String toDXFString()
Implementation of DXFObject interface method; creates DXF text representing the point.- Specified by:
toDXFString
in interfaceDXFObject
- Overrides:
toDXFString
in classDXFGraphicalEntity
-
-