I have a question how do I color an arc


295
views
1
6 months ago by
Community: CodeWorld

1 Answer


0
6 months ago by

Just like anything else, you can wrap it with the colored function:

pic = colored(arc(0, 90, 3), blue)

Because the arc is so thin, the color might not be obvious, you might want to use a thickArc instead.  This is like an arc, but uses a thick line.  The last parameter is thickness.  For example:

pic = colored(thickArc(0, 90, 3, 1/2), blue)
Please login to add an answer/comment or follow this question.

Similar posts:
Search »