Handle any takedown for this graphics context. This is called when a sketch is shut down and this renderer was specified using the size() command, or inside endRecord() and endRaw(), in order to shut things off.
()
| 809 | * endRaw(), in order to shut things off. |
| 810 | */ |
| 811 | public void dispose() { // ignore |
| 812 | if (primaryGraphics && asyncImageSaver != null) { |
| 813 | asyncImageSaver.dispose(); |
| 814 | asyncImageSaver = null; |
| 815 | } |
| 816 | } |
| 817 | |
| 818 | |
| 819 | public PSurface createSurface() { // ignore |