code: public void setCurve (double x1, double y1, double ctrlx1, double ctrly1, double ctrlx2,
                            double ctrly2, double x2, double y2) {
          this.x1 = x1;
          this.y1 = y1;
          this.ctrlx1 = ctrlx1;
          this.ctrly1 = ctrly1;
          this.ctrlx2 = ctrlx2;
          this.ctrly2 = ctrly2;
          this.x2 = x2;
          this.y2 = y2;
      }
docs: Configures the start, control and end points for this curve.