Path: blob/trunk/third_party/closure/goog/math/irect.js
4084 views
/**1* @license2* Copyright The Closure Library Authors.3* SPDX-License-Identifier: Apache-2.04*/56/**7* @fileoverview A record declaration to allow ClientRect and other rectangle8* like objects to be used with goog.math.Rect.9*/1011goog.provide('goog.math.IRect');121314/**15* Record for representing rectangular regions, allows compatibility between16* things like ClientRect and goog.math.Rect.17*18* @record19*/20goog.math.IRect = function() {};212223/** @type {number} */24goog.math.IRect.prototype.left;252627/** @type {number} */28goog.math.IRect.prototype.top;293031/** @type {number} */32goog.math.IRect.prototype.width;333435/** @type {number} */36goog.math.IRect.prototype.height;373839