Method WithWidth
WithWidth(int)
Returns new rectangle with location and height of this rectangle and the specified width.
public readonly RectI WithWidth(int newWidth)
Parameters
newWidthintNew width.
Returns
- RectI
Rectangle object with the new width.