getTopRight method

Coordinate getTopRight()

@return {!goog.math.Coordinate} A new coordinate for the top-right corner of the rectangle.

Implementation

Coordinate getTopRight()
{
  return new Coordinate(left + width, top);
}