📘 Creates an image from a string of text.
string of text
Optional
maximum line width in characters
maximum number of lines
an image object representing the rendered text
await Canvas(200);textSize(96);let img = createTextImage('🐶');img.filter(INVERT);q5.draw = function () { image(img, -45, -90);}; Copy
await Canvas(200);textSize(96);let img = createTextImage('🐶');img.filter(INVERT);q5.draw = function () { image(img, -45, -90);};
📘 Creates an image from a string of text.