bottom property

double bottom

Returns the y-coordinate of the bottom edge of the rectangle.

Implementation

double get bottom {
  return y + height;
}
void bottom=(double value)

Sets the height based on value minus y.

Implementation

set bottom(double value) {
  height = value - y;
}