Static p5_sys::global::noErase[][src]

pub static noErase: NoEraseInternalType
Expand description

Ends erasing that was started with erase(). The fill(), stroke(), and blendMode() settings will return to what they were prior to calling erase().

Examples

background(235, 145, 15);
noStroke();
fill(30, 45, 220);
rect(30, 10, 10, 80);
erase();
ellipse(50, 50, 60);
noErase();
rect(70, 10, 10, 80);