Closure Library API Documentation
Go to class or file:
size.js
A utility class for representing two-dimensional sizes.
Useful links
Source Code
File Location
math/size.js
Classes
goog.math.Size
Class for representing sizes consisting of a width and height. Undefined width and height support is deprecated and results in compiler warning.
Public
Protected
Private
Global Functions
goog.math.Size.
equals
(
a
,
b
)
⇒
boolean
Compares sizes for equality.
Arguments:
a
:
goog.math.Size
A Size.
b
:
goog.math.Size
A Size.
Returns:
boolean
True iff the sizes have equal widths and equal heights, or if both are null.
code »
Directory math
File Reference