Method WithRect WithRect(Rectangle) Declaration IOnScreenRectangle WithRect(Rectangle rect) Parameters Type Name Description Rectangle rect Returns Type Description IOnScreenRectangle