no_stroke()

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 March 06, 2023 02:49:26am UTC