Module type for ol.render.VectorContext

This commit is contained in:
Frederic Junod
2018-04-20 14:41:11 +02:00
parent 05f92c0333
commit 3c0c4cd155
6 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ import Event from '../events/Event.js';
* @extends {module:ol/events/Event~Event} * @extends {module:ol/events/Event~Event}
* @implements {oli.render.Event} * @implements {oli.render.Event}
* @param {module:ol/render/EventType~EventType} type Type. * @param {module:ol/render/EventType~EventType} type Type.
* @param {ol.render.VectorContext=} opt_vectorContext Vector context. * @param {module:ol/render/VectorContext~VectorContext=} opt_vectorContext Vector context.
* @param {module:ol/PluggableMap~FrameState=} opt_frameState Frame state. * @param {module:ol/PluggableMap~FrameState=} opt_frameState Frame state.
* @param {?CanvasRenderingContext2D=} opt_context Context. * @param {?CanvasRenderingContext2D=} opt_context Context.
* @param {?module:ol/webgl/Context~WebGLContext=} opt_glContext WebGL Context. * @param {?module:ol/webgl/Context~WebGLContext=} opt_glContext WebGL Context.
@@ -22,7 +22,7 @@ const RenderEvent = function(
/** /**
* For canvas, this is an instance of {@link ol.render.canvas.Immediate}. * For canvas, this is an instance of {@link ol.render.canvas.Immediate}.
* @type {ol.render.VectorContext|undefined} * @type {module:ol/render/VectorContext~VectorContext|undefined}
* @api * @api
*/ */
this.vectorContext = opt_vectorContext; this.vectorContext = opt_vectorContext;
+1 -1
View File
@@ -13,7 +13,7 @@ const ReplayGroup = function() {};
* @abstract * @abstract
* @param {number|undefined} zIndex Z index. * @param {number|undefined} zIndex Z index.
* @param {ol.render.ReplayType} replayType Replay type. * @param {ol.render.ReplayType} replayType Replay type.
* @return {ol.render.VectorContext} Replay. * @return {module:ol/render/VectorContext~VectorContext} Replay.
*/ */
ReplayGroup.prototype.getReplay = function(zIndex, replayType) {}; ReplayGroup.prototype.getReplay = function(zIndex, replayType) {};
+2 -2
View File
@@ -19,7 +19,7 @@ import {create as createTransform, compose as composeTransform} from '../../tran
/** /**
* @classdesc * @classdesc
* A concrete subclass of {@link ol.render.VectorContext} that implements * A concrete subclass of {@link module:ol/render/VectorContext~VectorContext} that implements
* direct rendering of features and geometries to an HTML5 Canvas context. * direct rendering of features and geometries to an HTML5 Canvas context.
* Instances of this class are created internally by the library and * Instances of this class are created internally by the library and
* provided to application code as vectorContext member of the * provided to application code as vectorContext member of the
@@ -27,7 +27,7 @@ import {create as createTransform, compose as composeTransform} from '../../tran
* render events emitted by layers and maps. * render events emitted by layers and maps.
* *
* @constructor * @constructor
* @extends {ol.render.VectorContext} * @extends {module:ol/render/VectorContext~VectorContext}
* @param {CanvasRenderingContext2D} context Context. * @param {CanvasRenderingContext2D} context Context.
* @param {number} pixelRatio Pixel ratio. * @param {number} pixelRatio Pixel ratio.
* @param {module:ol/extent~Extent} extent Extent. * @param {module:ol/extent~Extent} extent Extent.
+1 -1
View File
@@ -30,7 +30,7 @@ import {
/** /**
* @constructor * @constructor
* @extends {ol.render.VectorContext} * @extends {module:ol/render/VectorContext~VectorContext}
* @param {number} tolerance Tolerance. * @param {number} tolerance Tolerance.
* @param {module:ol/extent~Extent} maxExtent Maximum extent. * @param {module:ol/extent~Extent} maxExtent Maximum extent.
* @param {number} resolution Resolution. * @param {number} resolution Resolution.
+1 -1
View File
@@ -10,7 +10,7 @@ import WebGLReplayGroup from '../webgl/ReplayGroup.js';
/** /**
* @constructor * @constructor
* @extends {ol.render.VectorContext} * @extends {module:ol/render/VectorContext~VectorContext}
* @param {module:ol/webgl/Context~WebGLContext} context Context. * @param {module:ol/webgl/Context~WebGLContext} context Context.
* @param {module:ol/coordinate~Coordinate} center Center. * @param {module:ol/coordinate~Coordinate} center Center.
* @param {number} resolution Resolution. * @param {number} resolution Resolution.
+1 -1
View File
@@ -18,7 +18,7 @@ import {ARRAY_BUFFER, ELEMENT_ARRAY_BUFFER, TRIANGLES,
/** /**
* @constructor * @constructor
* @abstract * @abstract
* @extends {ol.render.VectorContext} * @extends {module:ol/render/VectorContext~VectorContext}
* @param {number} tolerance Tolerance. * @param {number} tolerance Tolerance.
* @param {module:ol/extent~Extent} maxExtent Max extent. * @param {module:ol/extent~Extent} maxExtent Max extent.
* @struct * @struct