Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text curved - last version. #6904

Closed
fran1990Web opened this issue Mar 3, 2021 · 6 comments
Closed

Text curved - last version. #6904

fran1990Web opened this issue Mar 3, 2021 · 6 comments

Comments

@fran1990Web
Copy link

hi!
First. Thanks for fabric.js. Im so glad for using this library. Im learning fabricjs and react a lot :).
I have a question. Does anyone know how I could do this effect with fabricjs?

Captura de pantalla 2021-03-03 a las 17 48 20

I found this url: http://fabricjs.com/quadratic-curve and im trying to get this path and apply on the object fabric.textbox but it isnt works :(
I was researching and came across something like Fabric.curved Text but the performance was not good to implement.

Does Fabricjs have something like this to implement?

Thanks you so much

@fran1990Web
Copy link
Author

#6543

@asturur
Copy link
Member

asturur commented Mar 4, 2021

You have to create a path with the shape you want, in this case a curve, and set it to the textbox object, but editing does not work properly yet.

@fran1990Web
Copy link
Author

Thanks you @asturur.

@fran1990Web
Copy link
Author

This issue can be closed

@wajipk
Copy link

wajipk commented Mar 10, 2021

You have to create a path with the shape you want, in this case a curve, and set it to the textbox object, but editing does not work properly yet.

Can you please share without editing. I need it in some project. It will be testing phase for curve text too.

@melchiar
Copy link
Member

@wajipk here's a simple example of how to achieve curved text

https://jsfiddle.net/melchiar/7v8j92sw/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants