<static> sameDimensions(a, b) → {boolean}
Determines if the two objects (either Rectangles or Rectangle-like) have the same width and height values under strict equality.
Parameters
Name | Type | Description |
---|---|---|
a | Rectangle-like | The first Rectangle object. |
b | Rectangle-like | The second Rectangle object. |
Returns
boolean -
True if the object have equivalent values for the width and height properties.
- Source code: geom/Rectangle.js (Line 920)
Please login to continue.