MCPcopy Index your code
hub / github.com/csev/py4e / _draw

Method _draw

code/graphics/graphics.py:715–718  ·  view source on GitHub ↗
(self, canvas, options)

Source from the content-addressed store, hash-verified

713 self.setOutline = self.setFill
714
715 def _draw(self, canvas, options):
716 p = self.anchor
717 x,y = canvas.toScreen(p.x,p.y)
718 return canvas.create_text(x,y,options)
719
720 def _move(self, dx, dy):
721 self.anchor.move(dx,dy)

Callers

nothing calls this directly

Calls 1

toScreenMethod · 0.80

Tested by

no test coverage detected