Method WithWidth
WithWidth(Rectangle, int)
Adjusts a given rectangle with the new width.
public static Rectangle WithWidth(this Rectangle rectangle, int width)
Parameters
Returns
- Rectangle
Rectangle object with new width.
Adjusts a given rectangle with the new width.
public static Rectangle WithWidth(this Rectangle rectangle, int width)
Rectangle object with new width.