Implemented sample drawing of rectangle into the canvas.