Updated the ShadowCanvas and the corresponding Test

Add RectPaintHistoryEvent, LinePaintHistoryEvent and OvalPaintHistoryEvent