Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
test.Workshop9_my_shapes.MyShape Class Reference
Inheritance diagram for test.Workshop9_my_shapes.MyShape:
Inheritance graph

Public Member Functions

def __init__
def __str__
def area
def draw

Public Attributes


Detailed Description

A base class for a generic shape.

Constructor & Destructor Documentation

def test.Workshop9_my_shapes.MyShape.__init__ (   self)

Member Function Documentation

def test.Workshop9_my_shapes.MyShape.__str__ (   self)
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.

Member Data Documentation


The documentation for this class was generated from the following file: