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