|
Rosetta
|

Public Member Functions | |
| def | __init__ (self) |
| def | __str__ (self) |
| def | area (self) |
| def | draw (self, line_width=1) |
Public Attributes | |
| color | |
A base class for a generic shape.
| def test.Workshop9_my_shapes.MyShape.__init__ | ( | self | ) |
Reimplemented in test.Workshop9_my_shapes.MySquare, and test.Workshop9_my_shapes.MyCircle.
Referenced by pyrosetta.distributed.tasks.taskbase.TaskBase.__setstate__().
| def test.Workshop9_my_shapes.MyShape.__str__ | ( | self | ) |
| def test.Workshop9_my_shapes.MyShape.area | ( | self | ) |
Return the area of the shape.
Reimplemented in test.Workshop9_my_shapes.MySquare, and test.Workshop9_my_shapes.MyCircle.
| def test.Workshop9_my_shapes.MyShape.draw | ( | self, | |
line_width = 1 |
|||
| ) |
Draw the shape on the screen.
| test.Workshop9_my_shapes.MyShape.color |
Referenced by pyrosetta.distributed.viewer.modules.setBackgroundColor.apply(), pyrosetta.distributed.viewer.modules.setDisulfides.apply(), pyrosetta.distributed.viewer.modules.setHydrogenBonds.apply(), pyrosetta.distributed.viewer.modules.setHydrogens.apply(), and pyrosetta.distributed.viewer.modules.setSurface.apply().