Name

noFill()

Description

Disables filling geometry. If both noStroke() and noFill() are called, nothing will be drawn to the screen.

Examples

  • size(400, 400);
    float x1 = 80;
    rect(60, 40, 220, 220);
    noFill();
    rect(120, 80, 220, 220);
    Image output for example 1

Syntax

  • noFill()

Return

  • void