title: Fabric js clip object to background image
body: <p>I am working on fabric js and I have encountered a problem where i have to clip user added object (text, image, svg etc) to background image set in canvas. The background image could be png or svg(with multiple path). The background image is of non-uniform shape, such as leaf, shirt etc.</p>
  
  <p>How could it be done?</p>