Module type for ol.render.VectorContext
This commit is contained in:
@@ -9,7 +9,7 @@ import Event from '../events/Event.js';
|
||||
* @extends {module:ol/events/Event~Event}
|
||||
* @implements {oli.render.Event}
|
||||
* @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 {?CanvasRenderingContext2D=} opt_context 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}.
|
||||
* @type {ol.render.VectorContext|undefined}
|
||||
* @type {module:ol/render/VectorContext~VectorContext|undefined}
|
||||
* @api
|
||||
*/
|
||||
this.vectorContext = opt_vectorContext;
|
||||
|
||||
@@ -13,7 +13,7 @@ const ReplayGroup = function() {};
|
||||
* @abstract
|
||||
* @param {number|undefined} zIndex Z index.
|
||||
* @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) {};
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ import {create as createTransform, compose as composeTransform} from '../../tran
|
||||
|
||||
/**
|
||||
* @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.
|
||||
* Instances of this class are created internally by the library and
|
||||
* 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.
|
||||
*
|
||||
* @constructor
|
||||
* @extends {ol.render.VectorContext}
|
||||
* @extends {module:ol/render/VectorContext~VectorContext}
|
||||
* @param {CanvasRenderingContext2D} context Context.
|
||||
* @param {number} pixelRatio Pixel ratio.
|
||||
* @param {module:ol/extent~Extent} extent Extent.
|
||||
|
||||
@@ -30,7 +30,7 @@ import {
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {ol.render.VectorContext}
|
||||
* @extends {module:ol/render/VectorContext~VectorContext}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Maximum extent.
|
||||
* @param {number} resolution Resolution.
|
||||
|
||||
@@ -10,7 +10,7 @@ import WebGLReplayGroup from '../webgl/ReplayGroup.js';
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {ol.render.VectorContext}
|
||||
* @extends {module:ol/render/VectorContext~VectorContext}
|
||||
* @param {module:ol/webgl/Context~WebGLContext} context Context.
|
||||
* @param {module:ol/coordinate~Coordinate} center Center.
|
||||
* @param {number} resolution Resolution.
|
||||
|
||||
@@ -18,7 +18,7 @@ import {ARRAY_BUFFER, ELEMENT_ARRAY_BUFFER, TRIANGLES,
|
||||
/**
|
||||
* @constructor
|
||||
* @abstract
|
||||
* @extends {ol.render.VectorContext}
|
||||
* @extends {module:ol/render/VectorContext~VectorContext}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
|
||||
Reference in New Issue
Block a user