This site requires JavaScript, please enable it in your browser!
Greenfoot back
Wasupmacuz
Wasupmacuz wrote ...

2017/5/3

Why doesn't this code work?

1
2
Wasupmacuz Wasupmacuz

2017/5/5

#
Yehuda wrote...
The coordinates for the drawString method are that the X puts the left side of the first letter at the specified X, but the Y puts the bottom of the text as the specified Y so since your text is 11 pixels high you have to set the Y for drawString as at least 11.
Thank you Yehuda :)
You need to login to post a reply.
1
2