def __init__(self, ownerDoc, x=None, y=None, height=None, width=None): BaseShapeNode.__init__(self, ownerDoc, "rect") PositionAttributes.__init__(self) SizeAttributes.__init__(self) self.setX(x) self.setY(y) self.setHeight(height) self.setWidth(width)
def __init__(self, ownerDoc, x=None, y=None, height=None, width=None): BaseShapeNode.__init__(self, ownerDoc, 'rect') PositionAttributes.__init__(self) SizeAttributes.__init__(self) self.setX(x) self.setY(y) self.setHeight(height) self.setWidth(width)
def __init__(self, ownerDoc, x1=None, y1=None, x2=None, y2=None): BaseShapeNode.__init__(self, ownerDoc, 'line') self.setX1(x1) self.setY1(y1) self.setX2(x2) self.setY2(y2)
def __init__(self, ownerDoc, cx=None, cy=None, r=None): BaseShapeNode.__init__(self, ownerDoc, 'circle') self.setCx(cx) self.setCy(cy) self.setR(r)
def __init__(self, ownerDoc, rx= None, ry= None): BaseShapeNode.__init__(self, ownerDoc, 'ellipse') self.setRx(rx) self.setRy(ry)
def __init__(self, ownerDoc, tagName): BaseShapeNode.__init__(self, ownerDoc, tagName)
def __init__(self, ownerDoc, rx=None, ry=None): BaseShapeNode.__init__(self, ownerDoc, 'ellipse') self.setRx(rx) self.setRy(ry)