code: function(c) {
  
              return !!c &&
                      this.start.x === c.start.x &&
                      this.start.y === c.start.y &&
                      this.controlPoint1.x === c.controlPoint1.x &&
                      this.controlPoint1.y === c.controlPoint1.y &&
                      this.controlPoint2.x === c.controlPoint2.x &&
                      this.controlPoint2.y === c.controlPoint2.y &&
                      this.end.x === c.end.x &&
                      this.end.y === c.end.y;
          }
docs: Checks whether two curves are exactly the same.