title: How to blur objects in fabric js (NOT AN IMAGE)?
body: <p>Can we blur objects in Canvas with fabricjs like rectangle,polygon.At least soft that objects edges.  </p>
  
  <p><strong>update:</strong></p>
  
  <p>I have an another approach for this, we can blur objects shadow. So Blur object shadow than set offset to opposite direction like this :  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var canvas = new fabric.Canvas("my-canvas");
  
  var rect = new fabric.Rect({
      top: -600,
      left: 100,
      fill: 'red',
      width: 100,
      height: 100,
      opacity: 0.5
  });
  rect.setShadow({
       color: 'red',
       blur: 7,
       offsetX: 0,
       offsetY: 700
  });
  canvas.add(rect);</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="http://cdnjs.cloudflare.com/ajax/libs/fabric.js/1.1.0/fabric.all.min.js"&gt;&lt;/script&gt;
  
  &lt;canvas id="my-canvas" height="400" width="400"&gt;&lt;/canvas&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>but problem is we can't use <code>globalCompositeOperation</code> option for this</p>