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

Method __init__

code/graphics/graphics.py:647–650  ·  view source on GitHub ↗
(self, p1, p2)

Source from the content-addressed store, hash-verified

645class Line(_BBox):
646
647 def __init__(self, p1, p2):
648 _BBox.__init__(self, p1, p2, ["arrow","fill","width"])
649 self.setFill(DEFAULT_CONFIG['outline'])
650 self.setOutline = self.setFill
651
652 def clone(self):
653 other = Line(self.p1, self.p2)

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
setFillMethod · 0.45

Tested by

no test coverage detected