Class Arc

    • Constructor Detail

      • Arc

        public Arc()
    • Method Detail

      • setStart

        public void setStart​(int start)
        Set the start of the arc.
        Parameters:
        start - the start of the arc.
      • setStop

        public void setStop​(int stop)
        Set the stop of the arc.
        Parameters:
        stop - the stop of the arc.
      • setType

        public void setType​(Arc.ArcType arcType)
        Set the type of arc.
        Parameters:
        arcType - the type to use - open, pie or chord.
      • executeDrawOperation

        public java.awt.image.BufferedImage executeDrawOperation()
        Abstract method which is intended to create an image buffer and return it so it can be drawn into another object. Use an Alpha channel for a "transparent" background..
        Specified by:
        executeDrawOperation in interface DrawOperation
        Returns:
        a planar image