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

Method clone

code/graphics/graphics.py:632–635  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

630 self.radius = radius
631
632 def clone(self):
633 other = Circle(self.getCenter(), self.radius)
634 other.config = self.config.copy()
635 return other
636
637 def getRadius(self):
638 return self.radius

Callers

nothing calls this directly

Calls 2

CircleClass · 0.85
getCenterMethod · 0.80

Tested by

no test coverage detected