code: public void setCurve (IQuadCurve curve) {
          setCurve(curve.x1(), curve.y1(), curve.ctrlX(), curve.ctrlY(),
                   curve.x2(), curve.y2());
      }
docs: Configures the start, control, and end points for this curve to be the same as the supplied
  curve.