How I do I get a string that has been drawn to canvas?
- Code: Select all
var context = canvas.getContext("2d");
context.fillText("HelloWorld");
I want to get the string "HelloWorld"
Thank you.
It is currently Sat Dec 02, 2017 4:12 pm Advanced search
var context = canvas.getContext("2d");
context.fillText("HelloWorld");
Users browsing this forum: No registered users and 1 guest