getHeight method

double getHeight()

Returns the height of the rectangle.

Implementation

double getHeight() {
  return _rect.bottom - _rect.top;
}