function getFillImageFromShape(shapeObj) {
  const { patternSourceCanvas } = getCustomProperty(shapeObj, 'patternSourceCanvas');
  const [fillImage] = patternSourceCanvas.getObjects();

  return fillImage;
}
Get background image of fill
@param {fabric.Object} shapeObj - Shape object
@returns {fabric.Image}
@private