-
Notifications
You must be signed in to change notification settings - Fork 192
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
handle for text type #364
Comments
@flyingatm Thank you for the feedback! The handles functionality isn't something I plan to build out, but if you could elaborate on what you mean, perhaps I can offer a workaround. |
@flyingatm I think you could achieve this with a combination of two jCanvas features: Handle Events: https://projects.calebevans.me/jcanvas/plugins/handles/#events With these two features:
Please let me know if you have any questions on this. |
@siripravi The only way I was able to make arc text work in jCanvas is to draw each letter individually. And because I don't have access to the kerning data for the font, each letter must be spaced equidistantly from adjacent letters. However, you can use the $('canvas').drawText({
fillStyle: '#c33',
fontFamily: 'Ubuntu, sans-serif',
fontSize: 18,
text: 'THIS IS THE FIRST LINE\nTHIS IS THE SECOND LINE\nTHIS IS THE THIRD LINE',
x: 160, y: 200,
radius: 150,
letterSpacing: 0.02
}); |
Thank your for quick reply. Thank you. |
hello! thank you for your hard work! this is a nice library, lightweight and really easy to use!
I created a meme generator with Jcanvas, all fine but I guess It would be nice if we have text type in handle plugin.
thank you!
The text was updated successfully, but these errors were encountered: