Method WithY
WithY(int)
Returns new rectangle with size and x-coordinate of this rectangle and the specified y-coordinate.
public readonly RectI WithY(int ay)
Parameters
ay
intNew Y position.
Returns
- RectI
Rectangle object with the new y-coordinate.