Args: x (float): the x coordinate of the top left corner of the rectangle y (float): the y coordinate of the top left corner of the rectangle w (float): width of the rectangle h (float): height of the rectangle kwargs: See Widget._
(self, x=0, y=0, w=100, h=100, *args, **kwargs)
| 4576 | def attr_round_corners_y(self, value): self.attributes['ry'] = str(value) |
| 4577 | |
| 4578 | def __init__(self, x=0, y=0, w=100, h=100, *args, **kwargs): |
| 4579 | """ |
| 4580 | Args: |
| 4581 | x (float): the x coordinate of the top left corner of the rectangle |
| 4582 | y (float): the y coordinate of the top left corner of the rectangle |
| 4583 | w (float): width of the rectangle |
| 4584 | h (float): height of the rectangle |
| 4585 | kwargs: See Widget.__init__() |
| 4586 | """ |
| 4587 | super(SvgRectangle, self).__init__(*args, **kwargs) |
| 4588 | self.set_position(x, y) |
| 4589 | _MixinSvgSize.set_size(self, w, h) |
| 4590 | self.type = 'rect' |
| 4591 | |
| 4592 | |
| 4593 | class SvgImage(Widget, _MixinSvgPosition, _MixinSvgSize, _MixinTransformable): |
nothing calls this directly
no test coverage detected