MCPcopy Index your code
hub / github.com/rawpython/remi / set_coords

Method set_coords

remi/gui.py:4770–4772  ·  view source on GitHub ↗
(self, x1, y1, x2, y2)

Source from the content-addressed store, hash-verified

4768 self.type = 'line'
4769
4770 def set_coords(self, x1, y1, x2, y2):
4771 self.set_p1(x1, y1)
4772 self.set_p2(x2, y2)
4773
4774 def set_p1(self, x1, y1):
4775 self.attr_x1 = x1

Callers 2

__init__Method · 0.95
renderMethod · 0.80

Calls 2

set_p1Method · 0.95
set_p2Method · 0.95

Tested by

no test coverage detected