ShadowCanvas: Add the drawline, drawrect and drawoval methods