MCPcopy
hub / github.com/processing/p5.js / pop

Method pop

src/core/p5.Renderer.js:143–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141 // Pop the previous states out of the push pop stack and
142 // assign it back to the current state
143 pop() {
144 this._pushPopDepth--;
145 const diff = this._pushPopStack.pop() || {};
146 const modified = this.states.getModified();
147 this.states.applyDiff(diff);
148 this.updateShapeVertexProperties(modified);
149 this.updateShapeProperties(modified);
150 }
151
152 bezierOrder(order) {
153 if (order === undefined) {

Callers 15

p5.sound.min.jsFile · 0.45
_checkFileFormatsFunction · 0.45
p5.sound.jsFile · 0.45
drawFunction · 0.45
convexHullFunction · 0.45
sketch.jsFile · 0.45
makeSketchFunction · 0.45
getExtFunction · 0.45
getExtFunction · 0.45
getExtFunction · 0.45
environment.jsFile · 0.45

Calls 4

updateShapePropertiesMethod · 0.95
getModifiedMethod · 0.80
applyDiffMethod · 0.80

Tested by

no test coverage detected