Skip to content

Rect.WithSize method

Returns a copy of this rectangle with a new size.

public Rect WithSize(Size size)
parameter description
size The new size.