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

Method __init__

remi/gui.py:4543–4553  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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
4556class SvgGroup(Container, _MixinSvgStroke, _MixinSvgFill, _MixinTransformable):

Callers

nothing calls this directly

Calls 3

__init__Method · 0.45
set_positionMethod · 0.45
set_sizeMethod · 0.45

Tested by

no test coverage detected