| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
param.parameterized.Parameterized --+
|
base.patterngenerator.PatternGenerator --+
|
Ring
2D ring pattern generator.
See the Disk class for a note about the Gaussian fall-off.
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
thickness = param.Number(default= 0.015, bounds= (0.0, None), Thickness (line width) of the ring. |
|||
smoothing = param.Number(default= 0.1, bounds= (0.0, None), soWidth of the Gaussian fall-off inside and outside the ring. |
|||
aspect_ratio = param.Number(default= 1.0, bounds= (0.0, None),Ratio of width to height; size*aspect_ratio gives the overall width. |
|||
size = param.Number(default= 0.5)Determines the overall size of the pattern. |
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Function to draw a pattern that will then be scaled and rotated. Instead of implementing __call__ directly, PatternGenerator subclasses will typically implement this helper function used by __call__, because that way they can let __call__ handle the scaling and rotation for them. Alternatively, __call__ itself can be reimplemented entirely by a subclass (e.g. if it does not need to do any scaling or rotation), in which case this function will be ignored.
|
|
|||
thicknessThickness (line width) of the ring.
|
smoothingWidth of the Gaussian fall-off inside and outside the ring.
|
aspect_ratioRatio of width to height; size*aspect_ratio gives the overall width.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Oct 12 22:26:34 2008 | http://epydoc.sourceforge.net |