addcomponent(poly, fill, outline=None)
Parameters: |
|
---|
Example:
>>> poly = ((0,0),(10,-5),(0,10),(-10,-5)) >>> s = Shape("compound") >>> s.addcomponent(poly, "red", "blue") >>> # ... add more components and then use register_shape()
See Compound shapes.
Please login to continue.