public void SetView(LiteForms.Cocoa.View shapeView) { RemoveView(); view = shapeView; ContentView.AddChild(shapeView); CenterView(); view?.ApplyTransform(GetActualTranformation()); }