Reference for set_stroke
Set the stroke color. 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
System
Text
Transform
Purpose
Set the color to use for drawing outlines for shapes and figures as well as lines.
Snippet
Set stroke to a blue color.
sketch.set_stroke('#0000C0')
Parameters
- color: Name of the color or a hex code.
Examples
Availability
Available on all platforms. Currently only hex codes are officially supported.