コード例 #1
0
ファイル: items.py プロジェクト: visit-vis/VisIt
 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)
コード例 #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)
コード例 #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()
コード例 #4
0
ファイル: items.py プロジェクト: visit-vis/VisIt
 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()