Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
SeleniumHQ
GitHub Repository: SeleniumHQ/Selenium
Path: blob/trunk/third_party/closure/goog/math/irect.js
4084 views
1
/**
2
* @license
3
* Copyright The Closure Library Authors.
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
/**
8
* @fileoverview A record declaration to allow ClientRect and other rectangle
9
* like objects to be used with goog.math.Rect.
10
*/
11
12
goog.provide('goog.math.IRect');
13
14
15
/**
16
* Record for representing rectangular regions, allows compatibility between
17
* things like ClientRect and goog.math.Rect.
18
*
19
* @record
20
*/
21
goog.math.IRect = function() {};
22
23
24
/** @type {number} */
25
goog.math.IRect.prototype.left;
26
27
28
/** @type {number} */
29
goog.math.IRect.prototype.top;
30
31
32
/** @type {number} */
33
goog.math.IRect.prototype.width;
34
35
36
/** @type {number} */
37
goog.math.IRect.prototype.height;
38
39