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)
| 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. |
nothing calls this directly
no test coverage detected