コード例 #1
0
 def __init__(self,params):
     defs = PropertyTree()
     defs.force_labels = False
     defs.padding    = 2
     defs.line_width = 2
     defs.bgcolor = (0,0,0,255)
     defs.font.name = "Times New Roman"
     defs.font.bold = True
     defs.font.size = 15
     CanvasItemSet.__init__(self,params,defs)
     self.items = self.generate()
コード例 #2
0
ファイル: items.py プロジェクト: visit-vis/VisIt
 def __init__(self, params):
     defs = PropertyTree()
     defs.force_labels = False
     defs.padding = 2
     defs.line_width = 2
     defs.bgcolor = (0, 0, 0, 255)
     defs.font.name = "Times New Roman"
     defs.font.bold = True
     defs.font.size = 15
     CanvasItemSet.__init__(self, params, defs)
     self.items = self.generate()
コード例 #3
0
 def __init__(self,params):
     defs = PropertyTree()
     defs.fgcolor = (255,255,255,255)
     defs.padding = 2
     defs.text.color  = (255,255,255,255)
     defs.text.vz     = "top"
     defs.text.hz     = "left"
     defs.bgcolor     = (0,0,0,255)
     defs.font.name   = "Times New Roman"
     defs.font.bold   = True
     defs.font.size   = 15
     CanvasItemSet.__init__(self,params,defs)
     self.items = self.generate()
コード例 #4
0
ファイル: items.py プロジェクト: visit-vis/VisIt
 def __init__(self, params):
     defs = PropertyTree()
     defs.fgcolor = (255, 255, 255, 255)
     defs.padding = 2
     defs.text.color = (255, 255, 255, 255)
     defs.text.vz = "top"
     defs.text.hz = "left"
     defs.bgcolor = (0, 0, 0, 255)
     defs.font.name = "Times New Roman"
     defs.font.bold = True
     defs.font.size = 15
     CanvasItemSet.__init__(self, params, defs)
     self.items = self.generate()