Name

noStroke()

Description

Disables drawing the stroke (outline). If both noStroke() and noFill() are called, nothing will be drawn to the screen.

Examples

  • size(400, 400);
    noStroke();
    rect(120, 80, 220, 220);
    Image output for example 1

Syntax

  • noStroke()

Return

  • void