Class DXFPoint

  • All Implemented Interfaces:
    DXFObject

    public class DXFPoint
    extends DXFEntity
    Class representing a simple point in a diagram.
    Author:
    jsevy
    • Constructor Detail

      • DXFPoint

        public DXFPoint​(RealPoint point,
                        java.awt.Graphics2D 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 point
        graphics - 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 interface DXFObject
        Overrides:
        toDXFString in class DXFEntity