sketching
sketching copied to clipboard
Color option isn't documented?
It seems like you can use color names like "white" in addition to all the other color options. This is shown in places like the documentation for ellipse-mode, but it doesn't seem to be documented in places like fill in the arguments list.
Additionally, I can't find a list of color names I can use as arguments, so if there's such a list consider linking it in the reference for color, fill and other places where color names are valid arguments,
The list of accepted color names are here.
https://docs.racket-lang.org/draw/color-database___.html
I'll revise the documentation.
Thank you!
For now the color names are mentioned in the start of the color section of the reference manual.
Alright cool. If you would like, I can do further updates to the documentation to add the color names parameter to all the relevant functions, or I can just close this issue if you don't think that's worthwhile.
Thanks for the offer. I think it is worth while mentioning that color names as strings are accepted. For the actual list of colors, I think it is better to link to the Racket documentation. If - for some reason - the list of colors is updated, it is better to have the list in only place only.