| Trees | Indices | Help |
|
|---|
|
|
2D arc pattern generator.
Draws an arc (partial ring) of the specified size (radius*2), starting at radian 0.0 and ending at arc_length. The orientation can be changed to choose other start locations. The pattern is centered at the center of the ring.
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 |
|||
|
|||
aspect_ratio = param.Number(default= 1.0, bounds= (0.0, None),Ratio of width to height; size*aspect_ratio gives the overall width. |
|||
thickness = param.Number(default= 0.015, bounds= (0.0, None), Thickness (line width) of the ring. |
|||
smoothing = param.Number(default= 0.05, bounds= (0.0, None), sWidth of the Gaussian fall-off inside and outside the ring. |
|||
arc_length = param.Number(default= pi, bounds= (0.0, None), soLength of the arc, in radians, starting from orientation 0.0. |
|||
size = param.Number(default= 0.5)Determines the overall size of the pattern. |
|||
name = <param.parameterized.String object at 0xb1ff3ec>String identifier for this object. |
|||
|
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.
|
|
|||
aspect_ratioRatio of width to height; size*aspect_ratio gives the overall width.
|
thicknessThickness (line width) of the ring.
|
smoothingWidth of the Gaussian fall-off inside and outside the ring.
|
arc_lengthLength of the arc, in radians, starting from orientation 0.0.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 5 14:59:40 2010 | http://epydoc.sourceforge.net |