💅 Sets the size of the stroke used for lines and the border around drawings.
size of the stroke in pixels
await Canvas(200);background(0.8);stroke('red');circle(-50, 0, 80);strokeWeight(12);circle(50, 0, 80); Copy
await Canvas(200);background(0.8);stroke('red');circle(-50, 0, 80);strokeWeight(12);circle(50, 0, 80);
💅 Sets the size of the stroke used for lines and the border around drawings.