Reference for set_fill
Set the fill 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_fill
System
Text
Transform
Purpose
Set the color to use for filling shapes and figures.
Snippet
Set fill to a red color.
sketch.set_fill('#C00000')
Parameters
- color: Name of the color or a hex code.
Examples
Availability
Available on all platforms. Currently only hex codes are officially supported.