The text truncates and doesn't show in multiline #333
Unanswered
ShahramZahoor
asked this question in
Q&A
Replies: 1 comment
-
Can you validate this behaviour doesn't happen on a regular HTML canvas as well? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I fillText on an image taken by camera the text truncates and doesn't show in multiline. Is there anyway we can do that ?
img.addEventListener('load', async () => {
canvas.width = width;
canvas.height = (width / img.width) * img.height;
ctx.drawImage(img, 0, 0, canvas.width, canvas.height);
Beta Was this translation helpful? Give feedback.
All reactions