|
Class Gluon
A line with a cycloid deformation
|
__init__(self,
point1,
point2)
|
|
set3D(self,
is3D=True,
skipsize=pyx.unit.length(0.04),
parity=0)
Make this line display in '3D'.
|
|
invert(self)
Flip the line decoration around the line.
|
|
getFrequency(self)
Get the rate of occurence of the coil decoration.
|
|
setFrequency(self,
freq)
Set the rate of occurence of the coil decoration.
|
|
getAmplitude(self)
Get the radius of the coil decoration.
|
|
setAmplitude(self,
amplitude)
Set the radius of the coil decoration.
|
|
setExtraCycles(self,
extras)
Add some extra (possibly negative) oscillations to the coil
decoration.
|
|
getDeformedPath(self)
Get the path modified by the coil warping.
|
|
draw(self,
canvas)
Draw the line on the supplied canvas.
|
Inherited from DecoratedLine :
getNumHalfCycles
Inherited from Line :
addArrow ,
addLabel ,
addParallelArrow ,
addStyle ,
addStyles ,
arcThru ,
bend ,
fracpoint ,
getPath ,
getStyles ,
getVisiblePath ,
removeArrows ,
removeLabels ,
setArrows ,
setStyles ,
straighten
Inherited from utils.Visible :
__cmp__ ,
getDepth ,
isVisible ,
setDepth
|
__init__(self,
point1,
point2)
(Constructor)
| | |
|