setFill()

graphics.py methods that set a shape's inside colour, its edge colour and its edge thickness.

In more detail

Colours are names such as "red" or "aquamarine", or values made with color_rgb. They can be changed after the shape is drawn and the window updates.

Example

c.setFill("yellow")
c.setOutline("black")

Related terms

Taught in

References