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