public static IntRect Collapse(IntRect rect)
 {
     return(ScreenCoordinates.Collapse(rect, new ScreenShot()));
 }
        public static IntRect ExpandPoint(IntPoint position)
        {
            ScreenShot screenshot = new ScreenShot();

            return(ScreenCoordinates.ExpandPoint(position, screenshot));
        }