pyfeyn is hosted by Hepforge, IPPP Durham

Package pyfeyn :: Module deco :: Class LineLabel
[hide private]
[frames] | no frames]

Class LineLabel




Label for Feynman diagram lines

Instance Methods [hide private]
  __init__(self, line, text, pos=0.5, displace=0.3, angle=0)
  getLine(self)
Get the associated line.
  setLine(self, line)
Set the associated line.
  draw(self, canvas)
Draw this label on the supplied canvas.

Inherited from utils.Visible: __cmp__, getDepth, getPath, getVisiblePath, isVisible, setDepth


Method Details [hide private]

__init__(self, line, text, pos=0.5, displace=0.3, angle=0)
(Constructor)

 
None
Overrides: Label.__init__

getLine(self)

 
Get the associated line.

setLine(self, line)

 
Set the associated line.

draw(self, canvas)

 
Draw this label on the supplied canvas.
Overrides: Label.draw