/// <summary> /// 缩小 /// </summary> /// <param name="bound"></param> /// <param name="size"></param> /// <returns></returns> public static Rectangle Deflate(this Rectangle bound, Size size) { bound.Inflate(size.Negative()); return bound; }
/// <summary> /// 缩小 /// </summary> /// <param name="bound"></param> /// <param name="size"></param> /// <returns></returns> public static Rectangle Deflate(this Rectangle bound, Size size) { bound.Inflate(size.Negative()); return bound; }