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