Reputation: 4274
I am trying to achieve Bridge Text Effect by using Fabric.js to display text on CANVAS. I have checked this link.
In that reference the Valley text has done. I am trying for Bridge text effect. Please help me, suggestions & references also welcome.
Upvotes: 2
Views: 1971
Reputation: 2401
There is a nice solution in this question using basic canvas api:
How to make rooftext effect and valley text effect in HTML5 (or Fabric.js)
I find it's diffcult to use Fabric.js to recreate it since it seems Fabric.image did not implement context.drawImage(img,sx,sy,swidth,sheight,x,y,width,height)
but only context.drawImage(img,x,y,width,height);
I could be wrong as I just take a first quick look of this library 15 minutes ago, have look at the solution any way, hope it helps.
Upvotes: 2