Implemented DrawShapes setCanvasSize and drawLine. sample.py is in progress.