Sets the top edge of the rectangle to the given position. May change the height, but will never change the bottom edge of the rectangle.
Rect setTop(double top) { return Rect.fromLTRB(left, top, right, bottom); }