code: public Path getTranslatedInstance (int x, int y)
      {
          if (_source == null) {
              return new LinePath(null, new Point(_dest.x + x, _dest.y + y),
                  _duration);
          } else {
              return new LinePath(_source.x + x, _source.y + y, _dest.x + x,
                  _dest.y + y, _duration);
          }
      }
docs: Return a copy of the path, translated by the specified amounts.