Python Forum
Turtle fillcolor? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: Turtle fillcolor? (/thread-25799.html)



Turtle fillcolor? - bobgardner - Apr-12-2020

Hello turtle experts and maintainers. I think the turtle is always black? Is there a way to change the turtle fill color? I have a proj using turtle to draw a dialface with white tic marks and numbers and a black face. I can use the turtle to point to the tic marks by turning on the outline param. It outlines in the pen color. Good so far, but I want a white filled arrow. Any way to do this? Thanks!


RE: Turtle fillcolor? - DT2000 - Apr-12-2020

To have turtle in any specific color you can use:
turtle.fillcolor('white')



RE: Turtle fillcolor? - bobgardner - Apr-12-2020

I swear I searched for this in books and forums, but it seems you are in fact correct, and my needle pointer is now white. Thanks for the reply! (I guess that one was obvious... I have a couple more that I might need to call in another question on... standby)