🖼️ 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_stroke

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

Purpose

Disable the drawing of outlines for shapes and figures as well as lines. Note that this has the effect of setting stroke weight to zero in terms of sizing and memory.

Snippet

Clear the stroke width.
sketch.clear_stroke()

Examples

Availability

Available on all platforms.

See also