Rosetta  2019.07
 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.MySquare Class Reference
Inheritance diagram for test.Workshop9_my_shapes.MySquare:
Inheritance graph
[legend]

Public Member Functions

def __init__
 
def area
 
- Public Member Functions inherited from test.Workshop9_my_shapes.MyShape
def __init__
 
def __str__
 
def area
 
def draw
 

Public Attributes

 side_length
 
- Public Attributes inherited from test.Workshop9_my_shapes.MyShape
 color
 

Detailed Description

A subclass of MyShape for a square.

Constructor & Destructor Documentation

def test.Workshop9_my_shapes.MySquare.__init__ (   self)

Member Function Documentation

def test.Workshop9_my_shapes.MySquare.area (   self)
Return the area of the square.

References test.Workshop9_my_shapes.MySquare.side_length.

Member Data Documentation

test.Workshop9_my_shapes.MySquare.side_length

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