public void Resize(float Width, float Height) { Controller.Resize((int)Width, (int)Height); Rect.Width = Width; Rect.Height = Height; }