Rosetta
Public Member Functions | Public Attributes | List of all members
test.Workshop9_my_shapes.MyCircle Class Reference
Inheritance diagram for test.Workshop9_my_shapes.MyCircle:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def area (self)
 
- Public Member Functions inherited from test.Workshop9_my_shapes.MyShape
def __str__ (self)
 
def draw (self, line_width=1)
 

Public Attributes

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

Detailed Description

A subclass of MyShape for a circle.

Constructor & Destructor Documentation

◆ __init__()

def test.Workshop9_my_shapes.MyCircle.__init__ (   self)

Member Function Documentation

◆ area()

def test.Workshop9_my_shapes.MyCircle.area (   self)

Member Data Documentation

◆ radius

test.Workshop9_my_shapes.MyCircle.radius

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