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

Method push

src/core/p5.Renderer2D.js:1078–1083  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1076 // derived renderers should call the base class' push() method
1077 // to fetch the base style object.
1078 push() {
1079 this.drawingContext.save();
1080
1081 // get the base renderer style
1082 return super.push();
1083 }
1084
1085 // a pop() operation is in progress
1086 // the renderer is passed the 'style' object that it returned

Callers 2

backgroundMethod · 0.95
_renderTextMethod · 0.95

Calls 1

saveMethod · 0.80

Tested by

no test coverage detected