Skip to content

Rect.WithPosition method

Returns a copy of this rectangle with a new position.

public Rect WithPosition(Point position)
parameter description
position The new top-left position.