| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
base.parameterizedobject.ParameterizedObject --+
|
base.patterngenerator.PatternGenerator --+
|
Rectangle --+
|
TwoRectangles
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x1 = Number(default=-0.15, bounds= (-1.0, 1.0), softbounds= (-X center of rectangle 1. |
|||
y1 = Number(default=-0.15, bounds= (-1.0, 1.0), softbounds= (-Y center of rectangle 1. |
|||
x2 = Number(default= 0.15, bounds= (-1.0, 1.0), softbounds= (-X center of rectangle 2. |
|||
y2 = Number(default= 0.15, bounds= (-1.0, 1.0), softbounds= (-Y center of rectangle 2. |
|||
|
Inherited from 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.
|
|
|||
x1X center of rectangle 1.
|
y1Y center of rectangle 1.
|
x2X center of rectangle 2.
|
y2Y center of rectangle 2.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu Feb 21 15:25:07 2008 | http://epydoc.sourceforge.net |