pyfeyn is hosted by Hepforge, IPPP Durham

Package pyfeyn :: Module blobs :: Class Blob
[hide private]
[frames] | no frames]

Class Blob




Base class for all blob-like objects in Feynman diagrams

Instance Methods [hide private]
  __init__(self)
Dysfunctional constructor, since this is an abstract base class.
  setStrokeStyle(self, strokestyle)
Set the stroke style.
  clearStrokeStyles(self)
Remove all the current stroke styles.
  setFillStyle(self, fillstyle)
Set the fill style.
  clearFillStyles(self)
Remove all the current fill styles.
  addTrafo(self, trafo)
Add a transformation.
  clearTrafos(self)
Remove transformations.
  setPoints(self, points)
Set the points to which this blob is attached.
  addLabel(self, text, displace=-0.15, angle=0)
Add a label.
  clearLabels(self)
Remove all current labels.

Inherited from points.Point: arg, distance, draw, getBlob, getPath, getX, getXY, getY, intercept, midpoint, removeLabels, setBlob, setX, setXY, setY, tangent, x, xy, y

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


Method Details [hide private]

__init__(self)
(Constructor)

 
Dysfunctional constructor, since this is an abstract base class.
Overrides: points.Point.__init__

setStrokeStyle(self, strokestyle)

 
Set the stroke style.

clearStrokeStyles(self)

 
Remove all the current stroke styles.

setFillStyle(self, fillstyle)

 
Set the fill style.

clearFillStyles(self)

 
Remove all the current fill styles.

addTrafo(self, trafo)

 
Add a transformation.

clearTrafos(self)

 
Remove transformations.

setPoints(self, points)

 
Set the points to which this blob is attached.

addLabel(self, text, displace=-0.15, angle=0)

 
Add a label.
Overrides: points.Point.addLabel

clearLabels(self)

 
Remove all current labels.