getWidth method

double getWidth()

Returns the width of the rectangle.

Implementation

double getWidth() {
  return _rect.right - _rect.left;
}