Class DXFCircle

  • All Implemented Interfaces:
    DXFObject

    public class DXFCircle
    extends DXFEntity
    Class representing a DXF circle.
    Author:
    jsevy
    • Constructor Detail

      • DXFCircle

        public DXFCircle​(RealPoint center,
                         double radius,
                         java.awt.Graphics2D graphics)
        * Create a circular arc from the specified parameters.
        Parameters:
        center - Center of the circle, as a RealPoint
        radius - Radius of the circle
        graphics - The graphics object specifying parameters for the arc (color, thickness)
    • Method Detail

      • toDXFString

        public java.lang.String toDXFString()
        Implementation of DXFObject interface method; creates DXF text representing the circle.
        Specified by:
        toDXFString in interface DXFObject
        Overrides:
        toDXFString in class DXFEntity