MCPcopy Create free account
hub / github.com/benfry/processing4 / push

Method push

core/src/processing/core/PGraphics.java:5269–5272  ·  view source on GitHub ↗

The push() function saves the current drawing style settings and transformations, while pop() restores these settings. Note that these functions are always used together. They allow you to change the style and transformation settings and later return to what you had. When a new state i

()

Source from the content-addressed store, hash-verified

5267 * @see PGraphics#pop()
5268 */
5269 public void push() {
5270 pushStyle();
5271 pushMatrix();
5272 }
5273
5274 /**
5275 *

Callers

nothing calls this directly

Calls 2

pushStyleMethod · 0.95
pushMatrixMethod · 0.95

Tested by

no test coverage detected