pyfeyn is hosted by Hepforge, IPPP Durham

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

Class PointLabel




Label attached to points on the diagram

Instance Methods [hide private]
  __init__(self, point, text, displace=0.3, angle=0)
  getPoint(self)
Get the point associated with this label.
  setPoint(self, point)
Set the point associated with this label.
  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, point, text, displace=0.3, angle=0)
(Constructor)

 
None
Overrides: Label.__init__

getPoint(self)

 
Get the point associated with this label.

setPoint(self, point)

 
Set the point associated with this label.

draw(self, canvas)

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