We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I understand that with the upgrade, size has to be worked a bit differently. However, surface and setSize do not seem to be recognized in the Python mode. I don't know what to use. I have gotten some help on this, but the examples were Java and when I tried in Python I got an error.
Answers
There's no reason to access the internal state of the sketch. What are you actually trying to accomplish? If you're just trying to set the size of your sketch to the size of some image, then you can do that in the
settings
function.