Add ol/pixel module for Pixel type

This commit is contained in:
Tim Schaub
2018-07-19 10:17:00 -06:00
parent f77b6be8e9
commit e5493d1288
21 changed files with 43 additions and 43 deletions
+4 -4
View File
@@ -34,13 +34,13 @@ class RenderBox extends Disposable {
/**
* @private
* @type {module:ol~Pixel}
* @type {module:ol/pixel~Pixel}
*/
this.startPixel_ = null;
/**
* @private
* @type {module:ol~Pixel}
* @type {module:ol/pixel~Pixel}
*/
this.endPixel_ = null;
@@ -83,8 +83,8 @@ class RenderBox extends Disposable {
}
/**
* @param {module:ol~Pixel} startPixel Start pixel.
* @param {module:ol~Pixel} endPixel End pixel.
* @param {module:ol/pixel~Pixel} startPixel Start pixel.
* @param {module:ol/pixel~Pixel} endPixel End pixel.
*/
setPixels(startPixel, endPixel) {
this.startPixel_ = startPixel;