The y coordinate of the top-left corner of the rectangle.
double get top { return y; }
Sets the y coordinate of the top-left corner of the rectangle.
set top(double value) { height -= value - y; y = value; }