draw(ctx) {
    const values = this.getFormattingValues();
    return (
      this.shape.draw(ctx, this.x, this.y, this.selected, this.hover, values) ||
      {}
    );
  }
Draw this node in the given canvas
The 2d context of a HTML canvas can be retrieved by canvas.getContext("2d");
@param {CanvasRenderingContext2D}   ctx
@returns {object} Callbacks to draw later on higher layers.