getCentre method
@return {!goog.math.Coordinate} A new coordinate for the center of the rectangle.
Implementation
Coordinate getCentre()
{
return new Coordinate(left + width / 2, top + height / 2);
}
@return {!goog.math.Coordinate} A new coordinate for the center of the rectangle.
Coordinate getCentre()
{
return new Coordinate(left + width / 2, top + height / 2);
}