MCPcopy Index your code
hub / github.com/benfry/processing4 / postWindowResized

Method postWindowResized

core/src/processing/core/PApplet.java:9686–9689  ·  view source on GitHub ↗

Internal use only: called by Surface objects to queue a resize event to call windowResized() when it's safe, which is after the beginDraw() call and before the draw(). Note that this is only the notification that the resize has happened.

(int newWidth, int newHeight)

Source from the content-addressed store, hash-verified

9684 * only the notification that the resize has happened.
9685 */
9686 public void postWindowResized(int newWidth, int newHeight) {
9687 windowEventQueue.put("w", newWidth);
9688 windowEventQueue.put("h", newHeight);
9689 }
9690
9691
9692 /** Called when window is resized. */

Callers 2

windowResizedMethod · 0.80
componentResizedMethod · 0.80

Calls 1

putMethod · 0.45

Tested by

no test coverage detected