/// <summary> /// Inflate Shared Method /// </summary> /// /// <remarks> /// Produces a new RectangleF by inflating an existing /// RectangleF by the specified coordinate values. /// </remarks> public static RectangleF Inflate(RectangleF rect, float x, float y) { RectangleF ir = new RectangleF(rect.X, rect.Y, rect.Width, rect.Height); ir.Inflate(x, y); return ir; }