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