Disables the fill inside shapes. Restore the fill by using the fill()
command. For shapes, if both noStroke()
and noFill()
are run, nothing will be drawn to the screen.
// Turn off the fill and then back on again. ellipse(100, 100, 200, 200); noFill(); ellipse(120, 120, 200, 250); fill("pink"); rect(175, 250, 20, 25);
noFill()
No return value. Changes future output to the display only.
Found a bug in the documentation? Let us know at documentation@code.org