the classes the text class this is also subclass of figure default value is used for the text to displayhowever dialog could be presented to the user allowing them to input the text they wish to displayclass text(figure)def __init__(selfparentpossize)super(__init__(parent=parentpos=possize=wx size(sizesize)def on_paint(selfdc)dc drawtext(text='text'pt=self point references the following provides some background on the model-view-controller architecture in user interfaces krasners popea cookbook for using the model-view controller user interface paradigm in smalltalk- joop ( ) - ( exercises you could develop the pydraw application further by adding the following featuresa delete option you can add button labelled delete to the window it should set the mode to "deletethe drawingpanel must be altered so that the mousereleased method sends delete message to the drawing the drawing must find and remove the appropriate graphic object and send the changed message to itself resize option this involves identifying which of the shapes has been selected and then either using dialog to enter the new size or providing some option that allows the size fo the shape to be indicated using the mouse