|
Class Ellipse
An elliptical blob
|
__init__(self,
x=None,
y=None,
center=None,
xradius=None,
yradius=None,
fill=[pyx.color.rgb.white],
stroke=[pyx.color.rgb.black],
points=None)
Constructor.
|
|
getXRadius(self)
Get the component of the radius in the x-direction.
|
|
setXRadius(self,
xrad)
Set the component of the radius in the x-direction.
|
|
getYRadius(self)
Get the component of the radius in the y-direction.
|
|
setYRadius(self,
yrad)
Set the component of the radius in the y-direction.
|
|
getXYRadius(self)
Get the components of the radius in the x and y directions at the
same time.
|
|
setXYRadius(self,
xrad,
yrad)
Get the components of the radius in the x and y directions at the
same time.
|
|
getPath(self)
Get the path for this blob.
|
|
draw(self,
canvas)
Draw this blob on the given canvas.
|
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
|
__init__(self,
x=None,
y=None,
center=None,
xradius=None,
yradius=None,
fill=[pyx.color.rgb.white],
stroke=[pyx.color.rgb.black],
points=None)
(Constructor)
| | |
|