Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/csev/py4e
/ setTextColor
Method
setTextColor
code/graphics/graphics.py:758–759 ·
view source on GitHub ↗
(self, color)
Source
from the content-addressed store, hash-verified
756
raise
GraphicsError, BAD_OPTION
757
758
def
setTextColor(self, color):
759
self.setFill(color)
760
761
def
__str__(self):
762
return
'"%s" at %s'
% (self.getText(), self.anchor.coordStr())
Callers
nothing calls this directly
Calls
1
setFill
Method · 0.45
Tested by
no test coverage detected