setPixels(startPixel, endPixel) {
    this.startPixel_ = startPixel;
    this.endPixel_ = endPixel;
    this.createOrUpdateGeometry();
    this.render_();
  }
@param {import("../pixel.js").Pixel} startPixel Start pixel.
@param {import("../pixel.js").Pixel} endPixel End pixel.