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

Method __init__

remi/gui.py:4578–4590  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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
4593class SvgImage(Widget, _MixinSvgPosition, _MixinSvgSize, _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