public void InvalidateView()
 {
     canvasView?.InvalidateDrawing();
 }