Read the statement by Michael Teeuw here.
.fillText() in a canvas box
-
This post is deleted! -
Since you’re asking how to see the error message I guess you don’t really know if that line has an error or just don’t do what you thought.
To see errors, open your mirror in a browser and press F12 for developer tools. Look in Console tab.
Syntax of
fillText
: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Drawing_text -
@Cato Thanks - that was the key to what I needed.
My coordinates for placing the text was using a variable “TempY”, when I had earlier defined it as “tempY”. Stupid case sensitive variable names.
tl;dr: I’m an idiot.
Thanks for the tip, now I can see error messages, and my FillText() command is working.
-
@FlatPepsi remember is
fillText
with a small f … 😉 -
@Cato [facepalm] Further proof that my heritage is from case-insensitive programming languages.