no_stroke()#

Disables drawing the stroke (outline).

Examples#

example picture for no_stroke()
1def setup():
2    py5.no_stroke()
3    py5.rect(30, 20, 55, 55)

Description#

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

Underlying Processing method: noStroke

Syntax#

no_stroke() -> None

Updated on November 12, 2021 11:30:58am UTC