![]() |
Rosetta
2021.16
|

Public Member Functions | |
| def | __init__ |
| def | __str__ |
| def | area |
| def | draw |
Public Attributes | |
| color | |
A base class for a generic shape.
| def test.Workshop9_my_shapes.MyShape.__init__ | ( | self | ) |
Referenced by pyrosetta.distributed.tasks.taskbase.TaskBase.__setstate__().
| def test.Workshop9_my_shapes.MyShape.__str__ | ( | self | ) |
References pyrosetta.distributed.docs.ComponentDoc.__doc__.
| def test.Workshop9_my_shapes.MyShape.area | ( | self | ) |
Return the area of the shape.
| def test.Workshop9_my_shapes.MyShape.draw | ( | self, | |
line_width = 1 |
|||
| ) |
Draw the shape on the screen.
| test.Workshop9_my_shapes.MyShape.color |
1.8.7