Fill shapes using an invisible "path" pen with pen path
, and then using the fill
command when the path is complete to fill that path with a color. This program defines a function called moon
to trace out the shape.
To outline a filled shape, you need to draw the shape twice, once with pen path
and fill
, and once with a normal colored pen. Can you use do moon
twice to do this?