Open yury-ivaniutsenka opened 7 years ago
Try to copy curved-text.js in your node project root. in app.js add
var curvedText = require('./curved-text.js');
Afterwards use it normally:
var curvedText = new fabric.CurvedText("Your Text", {
left: 10,
top: 20,
radius: 100,
effect: 'curved'
});
canvas.add(curvedText).renderAll();
Hi. Does it work on node.js?