Class DXFArc

  • All Implemented Interfaces:
    DXFObject

    public class DXFArc
    extends DXFGraphicalEntity
    Graphical entity representing a circular arc.
    Author:
    jsevy
    • Constructor Detail

      • DXFArc

        public DXFArc​(RealPoint center,
                      double radius,
                      double startAngleRadians,
                      double endAngleRadians,
                      boolean isCounterclockwise,
                      DXFGraphics graphics)
        Create a circular arc from the specified parameters.
        Parameters:
        center - Center of the circle, as a RealPoint
        radius - Radius of the circle
        startAngleRadians - Starting angle of the circle, in radians, counterclockwise from the positive x axis
        endAngleRadians - Starting angle of the circle, in radians, counterclockwise from the positive x axis
        isCounterclockwise - Indicate direction of arc, clockwise or counterclockwise
        graphics - The graphics object specifying parameters for the arc (color, thickness)