code: public Point getEndPos ()
      {
          return new Point(
              (int)(_center.x + Math.round(Math.cos(_sangle + _delta) * _xradius)),
              (int)(_center.y + Math.round(Math.sin(_sangle + _delta) * _yradius)));
      }
docs: Returns the position of the end of the path.