Args: width (int): the viewBox width in pixel height (int): the viewBox height in pixel kwargs: See Widget.__init__()
(self, x=0, y=0, width=100, height=100, *args, **kwargs)
| 4541 | """svg widget to nest within another Svg element- is a container for graphic widgets such as SvgCircle, SvgLine and so on.""" |
| 4542 | |
| 4543 | def __init__(self, x=0, y=0, width=100, height=100, *args, **kwargs): |
| 4544 | """ |
| 4545 | Args: |
| 4546 | width (int): the viewBox width in pixel |
| 4547 | height (int): the viewBox height in pixel |
| 4548 | kwargs: See Widget.__init__() |
| 4549 | """ |
| 4550 | super(SvgSubcontainer, self).__init__(*args, **kwargs) |
| 4551 | self.type = 'svg' |
| 4552 | self.set_position(x, y) |
| 4553 | _MixinSvgSize.set_size(self, width, height) |
| 4554 | |
| 4555 | |
| 4556 | class SvgGroup(Container, _MixinSvgStroke, _MixinSvgFill, _MixinTransformable): |
nothing calls this directly
no test coverage detected