Method WithSize
WithSize(Rect, Size)
Adjusts a given rectangle with the new size.
public static Rect WithSize(this Rect rectangle, Size size)
Parameters
Returns
- Rect
Rect object with new size.
Adjusts a given rectangle with the new size.
public static Rect WithSize(this Rect rectangle, Size size)
Rect object with new size.