Beispiel #1
0
 def __init__(self, params):
     # setup defaults ...
     defs = PropertyTree()
     defs.x = 0.0
     defs.y = 0.0
     defs.vz = "left"
     defs.hz = "bottom"
     CanvasItem.__init__(self, params, defs)
Beispiel #2
0
 def __init__(self,params):
     # setup defaults ...
     defs = PropertyTree()
     defs.x = 0.0
     defs.y = 0.0
     defs.vz = "left"
     defs.hz = "bottom"
     CanvasItem.__init__(self,params,defs)
Beispiel #3
0
 def __init__(self,params):
     # setup defaults ...
     defs = PropertyTree()
     defs.font.size = 12
     defs.font.name = "Times New Roman"
     defs.font.bold = False
     defs.font.ital = False
     defs.color  = (255,255,255,255)
     defs.vz = "left"
     defs.hz = "top"
     defs.orient = "hz"
     defs.wrap = -1
     CanvasItem.__init__(self,params,defs)
     self.params.lock()
Beispiel #4
0
 def __init__(self, params):
     # setup defaults ...
     defs = PropertyTree()
     defs.font.size = 12
     defs.font.name = "Times New Roman"
     defs.font.bold = False
     defs.font.ital = False
     defs.color = (255, 255, 255, 255)
     defs.vz = "left"
     defs.hz = "top"
     defs.orient = "hz"
     defs.wrap = -1
     CanvasItem.__init__(self, params, defs)
     self.params.lock()