no_stroke()#

Disables drawing the stroke (outline).

Examples#

example picture for no_stroke()
def setup():
    py5.no_stroke()
    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

Signatures#

no_stroke() -> None

Updated on September 01, 2022 16:36:02pm UTC