MCPcopy Index your code
hub / github.com/processing/processing / popStyle

Method popStyle

core/src/processing/core/PGraphics.java:6258–6264  ·  view source on GitHub ↗

( begin auto-generated from popStyle.xml ) The pushStyle() function saves the current style settings and popStyle() restores the prior settings; these functions are always used together. They allow you to change the style settings and later return to what you had. When a new style is

()

Source from the content-addressed store, hash-verified

6256 * @see PGraphics#pushStyle()
6257 */
6258 public void popStyle() {
6259 if (styleStackDepth == 0) {
6260 throw new RuntimeException("Too many popStyle() without enough pushStyle()");
6261 }
6262 styleStackDepth--;
6263 style(styleStack[styleStackDepth]);
6264 }
6265
6266
6267 public void style(PStyle s) {

Callers 2

popMethod · 0.95
backgroundImplMethod · 0.95

Calls 1

styleMethod · 0.95

Tested by

no test coverage detected