no_fill()

no_fill()#

Disables filling geometry.

Examples#

example picture for no_fill()

def setup():
    py5.rect(15, 10, 55, 55)
    py5.no_fill()
    py5.rect(30, 20, 55, 55)

Description#

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

Underlying Processing method: noFill

Signatures#

no_fill() -> None

Updated on March 06, 2023 02:49:26am UTC