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

Method __init__

code/graphics/graphics.py:626–630  ·  view source on GitHub ↗
(self, center, radius)

Source from the content-addressed store, hash-verified

624class Circle(Oval):
625
626 def __init__(self, center, radius):
627 p1 = Point(center.x-radius, center.y-radius)
628 p2 = Point(center.x+radius, center.y+radius)
629 Oval.__init__(self, p1, p2)
630 self.radius = radius
631
632 def clone(self):
633 other = Circle(self.getCenter(), self.radius)

Callers

nothing calls this directly

Calls 2

PointClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected