pushStyle()

Structure

Description

Saves the current style settings (fill, stroke, font, etc.) onto a stack.

Syntax

void pushStyle()

Parameters

None

Returns

void

Related

Under the Hood

From Processing.h:

void pushStyle();

Under the Hood

From Processing.cpp:

void PApplet::pushStyle() { Style s; captureStyle(s); styleStack.push_back(s); } void PApplet::push() { glPushMatrix(); pushStyle();