pyfeyn is hosted by Hepforge, IPPP Durham

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

Class Circle




A circular blob

Instance Methods [hide private]
  __init__(self, x=None, y=None, center=None, radius=None, fill=[pyx.color.rgb.white], stroke=[pyx.color.rgb.black], points=None)
Constructor.
  getPath(self)
Get the path of this circle blob.
  draw(self, canvas)
Draw this circle blob.

Inherited from Blob: addLabel, addTrafo, clearFillStyles, clearLabels, clearStrokeStyles, clearTrafos, setFillStyle, setPoints, setStrokeStyle

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

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


Class Variables [hide private]
  blobshape = 'circle'

Method Details [hide private]

__init__(self, x=None, y=None, center=None, radius=None, fill=[pyx.color.rgb.white], stroke=[pyx.color.rgb.black], points=None)
(Constructor)

 
Constructor.
Overrides: Blob.__init__

getPath(self)

 
Get the path of this circle blob.
Overrides: points.Point.getPath

draw(self, canvas)

 
Draw this circle blob.
Overrides: points.Point.draw

Class Variable Details [hide private]

blobshape

None
Value:
'circle'