Example #1
0
 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)
Example #2
0
 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)
Example #3
0
 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)
Example #4
0
 def __init__(self, ownerDoc, cx=None, cy=None, r=None):
     BaseShapeNode.__init__(self, ownerDoc, 'circle')
     self.setCx(cx)
     self.setCy(cy)
     self.setR(r)
Example #5
0
 def __init__(self, ownerDoc, rx= None, ry= None):
     BaseShapeNode.__init__(self, ownerDoc, 'ellipse')
     self.setRx(rx)
     self.setRy(ry)
Example #6
0
 def __init__(self, ownerDoc, tagName):
     BaseShapeNode.__init__(self, ownerDoc, tagName)
Example #7
0
 def __init__(self, ownerDoc, rx=None, ry=None):
     BaseShapeNode.__init__(self, ownerDoc, 'ellipse')
     self.setRx(rx)
     self.setRy(ry)
Example #8
0
 def __init__(self, ownerDoc, cx=None, cy=None, r=None):
     BaseShapeNode.__init__(self, ownerDoc, 'circle')
     self.setCx(cx)
     self.setCy(cy)
     self.setR(r)
Example #9
0
 def __init__(self, ownerDoc, tagName):
     BaseShapeNode.__init__(self, ownerDoc, tagName)