Method WithSize
WithSize(SizeI)
Returns new rectangle with location of this rectangle and the specified size.
public readonly RectI WithSize(SizeI newSize)
Parameters
newSize
SizeINew size.
Returns
- RectI
Rectangle object with the new size.
Returns new rectangle with location of this rectangle and the specified size.
public readonly RectI WithSize(SizeI newSize)
newSize
SizeINew size.
Rectangle object with the new size.