/// <summary> /// Returns a rectangle that is offset from the specified rectangle by using specified horizontal and vertical amounts. /// </summary> public static XRect Offset(XRect rect, double offsetX, double offsetY) { rect.Offset(offsetX, offsetY); return(rect); }
/// <summary> /// Returns a rectangle that is offset from the specified rectangle by using the specified vector. /// </summary> public static XRect Offset(XRect rect, XVector offsetVector) { rect.Offset(offsetVector.X, offsetVector.Y); return(rect); }