getHeight method

double getHeight()

Returns the height of this rectangle.

Implementation

double getHeight() {
  return bottom - top;
}