Clears the pixels within a buffer. This function only works on PGraphics objects created with the createGraphics() function. Unlike the main graphics context (the display window), pixels in additional graphics areas created with createGraphics() can be entirely or partially tran
()
| 7431 | * @webBrief Clears the pixels within a buffer |
| 7432 | */ |
| 7433 | public void clear() { |
| 7434 | if (primaryGraphics) { |
| 7435 | showWarning("clear() can only be used with createGraphics()"); |
| 7436 | } else { |
| 7437 | background(0, 0, 0, 0); |
| 7438 | } |
| 7439 | } |
| 7440 | |
| 7441 | |
| 7442 | protected void backgroundFromCalc() { |
nothing calls this directly
no test coverage detected