Sha256: bd9ff3bfc4696481a59f35e8a0f60ede3748826fea59671952e4941ab4ccf677
Contents?: true
Size: 405 Bytes
Versions: 2
Compression:
Stored size: 405 Bytes
Contents
/** * @constructor * @param {number} width * @param {number} height */ webfont.Size = function (width, height) { this.width = width; this.height = height; }; /** * Returns true if this size equals other. * * @param {webfont.Size} other * @return {boolean} */ webfont.Size.prototype.equals = function (other) { return !!other && this.width == other.width && this.height == other.height; };
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
webfontloader-1.2.1 | src/core/size.js |
webfontloader-1.2.0 | src/core/size.js |