-
-
Notifications
You must be signed in to change notification settings - Fork 176
Closed
Description
Issue description
The description tells the reader that this method clears the pixel within a buffer. That seems not be actually correct: This method just set the background to (0,0,0,0), so fully reset the background (Source Code of PGraphics.java, current version). It does nothing else, so drawn lines or points were not erased and can still be seen.
URL(s) of affected page(s)
https://processing.org/reference/clear_.html
Proposed fix
Perhaps the authors of the description wanted to implement the written description and just have forgotten it or they forgot to update the description. Either way, it should be corrected.
Metadata
Metadata
Assignees
Labels
No labels