🖼️ Image preloads for web are now available. Get your images faster! See draw_image for more details.

Sketchingpy

Creative coding and interactive science everywhere for everyone: web, desktop, mobile, Jupyter, and more. Open source!

Reference for clear_fill

Clear the fill color. This is part of the reference section.

Purpose

Set the fill color to fully transparent so that only outlines of shapes and figures are drawn.

Snippet

Clear the fill color.
sketch.clear_fill()

Examples

Availability

Available on all platforms.

See also