title: Canvas border radius using Fabric.js
body: <p>I am trying to set border radius for canvas following is my code a set Height is applying perfectly also set Width applying perfectly just having the issue with border radius just tell how to set border radius of canvas using following code. </p>
  
  <pre><code>   canvas.setHeight(314);
     canvas.setWidth(629);
     canvas.setBorderRadius(314.5/157.25);
  </code></pre>