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

Method __init__

remi/gui.py:4648–4659  ·  view source on GitHub ↗

Args: x (float): the x center point of the circle y (float): the y center point of the circle radius (float): the circle radius kwargs: See Widget.__init__()

(self, x=0, y=0, radius=50, *args, **kwargs)

Source from the content-addressed store, hash-verified

4646 def attr_r(self, value): self.attributes['r'] = str(value)
4647
4648 def __init__(self, x=0, y=0, radius=50, *args, **kwargs):
4649 """
4650 Args:
4651 x (float): the x center point of the circle
4652 y (float): the y center point of the circle
4653 radius (float): the circle radius
4654 kwargs: See Widget.__init__()
4655 """
4656 super(SvgCircle, self).__init__(*args, **kwargs)
4657 self.set_position(x, y)
4658 self.set_radius(radius)
4659 self.type = 'circle'
4660
4661 def set_radius(self, radius):
4662 """Sets the circle radius.

Callers

nothing calls this directly

Calls 3

set_positionMethod · 0.95
set_radiusMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected