setRightVector(x, y) {
    if (this.from.x < this.to.x) {
      this.to.x = x;
      this.to.y = y;
    } else {
      this.from.x = x;
      this.from.y = y;
    }

    return this;
  }
Set the value of the right vector.

@param {Number} x The x value.
@param {Number} y The y value.
@returns {Line} This line.