updateBoundingBox(x, y, ctx, selected, hover) {
    this._updateBoundingBox(x, y, ctx, selected, hover);

    const borderRadius = this.options.shapeProperties.borderRadius; // only effective for box
    this._addBoundingBoxMargin(borderRadius);
  }
@param {number} x width
@param {number} y height
@param {CanvasRenderingContext2D} ctx
@param {boolean} selected
@param {boolean} hover