public void ResetClip(object backend) { var path = new NSBezierPath(); path.AppendPathWithRect(new System.Drawing.RectangleF(0, 0, float.MaxValue, float.MaxValue)); path.SetClip(); }