🧪 Version 0.2.2 is our alpha release candidate. Please send us bug reports and suggestions!

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