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

Method set_position

remi/gui.py:4669–4677  ·  view source on GitHub ↗

Sets the circle position. Args: x (int): the x coordinate y (int): the y coordinate

(self, x, y)

Source from the content-addressed store, hash-verified

4667 self.attr_r = radius
4668
4669 def set_position(self, x, y):
4670 """Sets the circle position.
4671
4672 Args:
4673 x (int): the x coordinate
4674 y (int): the y coordinate
4675 """
4676 self.attr_cx = str(x)
4677 self.attr_cy = str(y)
4678
4679
4680class SvgEllipse(Widget, _MixinSvgStroke, _MixinSvgFill, _MixinTransformable):

Callers 9

__init__Method · 0.95
update_positionMethod · 0.45
update_positionMethod · 0.45
update_positionMethod · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
renderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected