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

Method __init__

code/graphics/graphics.py:530–534  ·  view source on GitHub ↗
(self, x, y)

Source from the content-addressed store, hash-verified

528
529class Point(GraphicsObject):
530 def __init__(self, x, y):
531 GraphicsObject.__init__(self, ["outline", "fill"])
532 self.setFill = self.setOutline
533 self.x = x
534 self.y = y
535
536 def _draw(self, canvas, options):
537 x,y = canvas.toScreen(self.x,self.y)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected