push()
StructureDescription
Saves the current drawing style settings and transformations. Use pop() to restore.
Syntax
void push()
Parameters
None
Returns
voidRelated
Under the Hood
From Processing.h:
void push(int v) { append(v); }
void push(float v) { append(v); }
void push(const std::string& v) { append(v); }
void push();
Under the Hood
From Processing.cpp:
void PApplet::push() { glPushMatrix(); pushStyle(); }