Reference for set_stroke_weight
Set the stroke size. This is part of the reference section.
Arc
Buffer
Data
Dialog
Ellipse
Geo Utils
Image
Joystick (future)
Keyboard
Line
Mouse / Touchscreen
Pixel
Rectangle
Renderers
Shape
Sound (future)
Style
set_stroke_weight
System
Text
Transform
Purpose
Set the width of stroke for drawing outlines for shapes and figures as well as lines.
Snippet
Set stroke to 3 pixels.
sketch.set_stroke_weight(3)
Parameters
- size: Number of pixels for the stroke weight.
Examples
Availability
Available on all platforms.