code: public void paint (Graphics2D gfx)
      {
          int x = (int)(_center.x - _xradius), y = (int)(_center.y - _yradius);
          int width = (int)(2*_xradius), height = (int)(2*_yradius);
          int sangle = (int)(Math.round(180 * _sangle / Math.PI)),
              delta = (int)(Math.round(180 * _delta / Math.PI));
  
          gfx.setColor(Color.blue);
          gfx.drawRect(x, y, width-1, height-1);
  
          gfx.setColor(Color.yellow);
          gfx.drawArc(x, y, width-1, height-1, 0, 360);
  
          gfx.setColor(Color.red);
          gfx.drawArc(x, y, width-1, height-1, 360-sangle, -delta);
      }
docs: documentation inherited