From 45c067dfdaf60b0131020216cfeb80f65b6ef00b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Thu, 19 Jul 2012 17:47:34 +0200 Subject: [PATCH] add ol.PixelBounds --- src/ol/pixelbounds.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/ol/pixelbounds.js diff --git a/src/ol/pixelbounds.js b/src/ol/pixelbounds.js new file mode 100644 index 0000000000..52eb9f0eff --- /dev/null +++ b/src/ol/pixelbounds.js @@ -0,0 +1,19 @@ +goog.provide('ol.PixelBounds'); + +goog.require('goog.asserts'); +goog.require('ol.Rectangle'); + + + +/** + * @constructor + * @extends {ol.Rectangle} + * @param {number} minX Minimum X. + * @param {number} minY Minimum Y. + * @param {number} maxX Maximum X. + * @param {number} maxY Maximum Y. + */ +ol.PixelBounds = function(minX, minY, maxX, maxY) { + goog.base(this, minX, minY, maxX, maxY); +}; +goog.inherits(ol.PixelBounds, ol.Rectangle);