mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
add code for toggling display of non-screen renderers
This commit is contained in:
@@ -3578,6 +3578,17 @@ public class PGraphics extends PImage implements PConstants {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return true if this renderer should be drawn to the screen.
|
||||
* Overridden for subclasses like PDF so that an enormous window
|
||||
* doesn't open up.
|
||||
* showFrame, displayable, isVisible, visible, shouldDisplay,
|
||||
* what to call this?
|
||||
*/
|
||||
public boolean displayable() {
|
||||
return true;
|
||||
}
|
||||
|
||||
//public void beginRaw() { // ignore
|
||||
//beginFrame();
|
||||
//}
|
||||
|
||||
Reference in New Issue
Block a user