Open prisonerjohn opened 10 years ago
Comment by benfry Friday Apr 26, 2013 at 19:06 GMT
It is a legit function argument—that was how people could do clear() before we added 'clear()'. It's also the only way to get a semi-transparent background with a color. i.e. background(255, 0, 0, 128) would fill an offscreen PGraphics with red at 50% alpha.
clear() just calls background(0, 0, 0, 0);
Comment by REAS Friday Apr 26, 2013 at 19:21 GMT
Thanks Ben. It's a documentation issue then. It was an issue in class on Thursday. Easy to fix with language.
Issue by REAS Friday Apr 26, 2013 at 01:09 GMT Originally opened as https://github.com/processing/processing-web/issues/106
See processing/processing#1741