Add API to set lineWidth, strokeColor and fillColor. And cleanup CanvasState