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

Method clone

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

Source from the content-addressed store, hash-verified

650 self.setOutline = self.setFill
651
652 def clone(self):
653 other = Line(self.p1, self.p2)
654 other.config = self.config.copy()
655 return other
656
657 def _draw(self, canvas, options):
658 p1 = self.p1

Callers

nothing calls this directly

Calls 1

LineClass · 0.70

Tested by

no test coverage detected