(int stopColor)
| 639 | |
| 640 | |
| 641 | public void placePresent(int stopColor) { |
| 642 | float scale = getPixelScale(); |
| 643 | pgl.initPresentMode(0.5f * (screenRect.width/scale - sketchWidth), |
| 644 | 0.5f * (screenRect.height/scale - sketchHeight), stopColor); |
| 645 | PApplet.hideMenuBar(); |
| 646 | |
| 647 | window.setUndecorated(true); |
| 648 | window.setTopLevelPosition((int) displayRect.getX(), (int) displayRect.getY()); |
| 649 | window.setTopLevelSize((int) displayRect.getWidth(), (int) displayRect.getHeight()); |
| 650 | } |
| 651 | |
| 652 | |
| 653 | /* |
nothing calls this directly
no test coverage detected