Sets the y attribute of the rectangle, which defines the y-coordinate of the rectangle's top-left corner.
y
The y-coordinate value.