title: Itext Curved with fabric js
body: <p>How to apply curved text effect with IText in fabric js. User can change curved direction, radius and other parameters. Please help.</p>
  
  <pre><code>var text = new fabric.IText(e);
  
  text.CurvedText = fabric.util.createClass(text.Text, text.Collection, {
                          type: "curvedText",
                          radius: 50,
                          range: 5,
                          smallFont: 10,
                          largeFont: 30,
                          effect: "curved",
                          spacing: 20,
                          reverse: !1,
                         /* stateProperties: e,
                          delegatedProperties: g,
                          _dimensionAffectingProps: f,
                          _isRendering: 0,*/
                      });
        canvas.add(text);
        canvas.renderall();
  </code></pre>
  
  <p>do we need any other calculation for curved text.</p>