Remove @extends and @constructor annotations
This commit is contained in:
@@ -7,8 +7,6 @@ import Polygon from '../geom/Polygon.js';
|
||||
|
||||
class RenderBox extends Disposable {
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/Disposable}
|
||||
* @param {string} className CSS class name.
|
||||
*/
|
||||
constructor(className) {
|
||||
|
||||
@@ -7,8 +7,6 @@ import Event from '../events/Event.js';
|
||||
class RenderEvent extends Event {
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/events/Event}
|
||||
* @param {module:ol/render/EventType} type Type.
|
||||
* @param {module:ol/render/VectorContext=} opt_vectorContext Vector context.
|
||||
* @param {module:ol/PluggableMap~FrameState=} opt_frameState Frame state.
|
||||
|
||||
@@ -24,7 +24,6 @@ const tmpTransform = createTransform();
|
||||
* structure, optimized for vector tile rendering and styling. Geometry access
|
||||
* through the API is limited to getting the type and extent of the geometry.
|
||||
*
|
||||
* @constructor
|
||||
* @param {module:ol/geom/GeometryType} type Geometry type.
|
||||
* @param {Array.<number>} flatCoordinates Flat coordinates. These always need
|
||||
* to be right-handed for polygons.
|
||||
|
||||
@@ -3,22 +3,20 @@
|
||||
*/
|
||||
/**
|
||||
* Base class for replay groups.
|
||||
* @constructor
|
||||
* @abstract
|
||||
*/
|
||||
class ReplayGroup {
|
||||
/**
|
||||
* @abstract
|
||||
* @param {number|undefined} zIndex Z index.
|
||||
* @param {module:ol/render/ReplayType} replayType Replay type.
|
||||
* @return {module:ol/render/VectorContext} Replay.
|
||||
*/
|
||||
* @abstract
|
||||
* @param {number|undefined} zIndex Z index.
|
||||
* @param {module:ol/render/ReplayType} replayType Replay type.
|
||||
* @return {module:ol/render/VectorContext} Replay.
|
||||
*/
|
||||
getReplay(zIndex, replayType) {}
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @return {boolean} Is empty.
|
||||
*/
|
||||
* @abstract
|
||||
* @return {boolean} Is empty.
|
||||
*/
|
||||
isEmpty() {}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
/**
|
||||
* @module ol/render/VectorContext
|
||||
*/
|
||||
|
||||
/**
|
||||
* Context for drawing geometries. A vector context is available on render
|
||||
* events and does not need to be constructed directly.
|
||||
* @constructor
|
||||
* @abstract
|
||||
* @struct
|
||||
* @api
|
||||
*/
|
||||
|
||||
@@ -6,8 +6,6 @@ import CanvasReplay from '../canvas/Replay.js';
|
||||
|
||||
class CanvasImageReplay extends CanvasReplay {
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/render/canvas/Replay}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Maximum extent.
|
||||
* @param {number} resolution Resolution.
|
||||
|
||||
@@ -26,8 +26,6 @@ class CanvasImmediateRenderer extends VectorContext {
|
||||
* {@link module:ol/render/Event~RenderEvent} object associated with postcompose, precompose and
|
||||
* render events emitted by layers and maps.
|
||||
*
|
||||
* @constructor
|
||||
* @extends {module:ol/render/VectorContext}
|
||||
* @param {CanvasRenderingContext2D} context Context.
|
||||
* @param {number} pixelRatio Pixel ratio.
|
||||
* @param {module:ol/extent~Extent} extent Extent.
|
||||
|
||||
@@ -6,8 +6,6 @@ import CanvasReplay from '../canvas/Replay.js';
|
||||
|
||||
class CanvasLineStringReplay extends CanvasReplay {
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/render/canvas/Replay}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Maximum extent.
|
||||
* @param {number} resolution Resolution.
|
||||
|
||||
@@ -12,8 +12,6 @@ import CanvasReplay from '../canvas/Replay.js';
|
||||
|
||||
class CanvasPolygonReplay extends CanvasReplay {
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/render/canvas/Replay}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Maximum extent.
|
||||
* @param {number} resolution Resolution.
|
||||
|
||||
@@ -43,8 +43,6 @@ const tmpTransform = createTransform();
|
||||
|
||||
class CanvasReplay extends VectorContext {
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/render/VectorContext}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Maximum extent.
|
||||
* @param {number} resolution Resolution.
|
||||
|
||||
@@ -35,8 +35,6 @@ const BATCH_CONSTRUCTORS = {
|
||||
|
||||
class CanvasReplayGroup extends ReplayGroup {
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/render/ReplayGroup}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @param {number} resolution Resolution.
|
||||
|
||||
@@ -16,8 +16,6 @@ import TextPlacement from '../../style/TextPlacement.js';
|
||||
|
||||
class CanvasTextReplay extends CanvasReplay {
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/render/canvas/Replay}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Maximum extent.
|
||||
* @param {number} resolution Resolution.
|
||||
|
||||
@@ -17,8 +17,6 @@ import WebGLBuffer from '../../webgl/Buffer.js';
|
||||
|
||||
class WebGLCircleReplay extends WebGLReplay {
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/render/webgl/Replay}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
|
||||
@@ -7,8 +7,6 @@ import WebGLBuffer from '../../webgl/Buffer.js';
|
||||
|
||||
class WebGLImageReplay extends WebGLTextureReplay {
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/render/webgl/TextureReplay}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
|
||||
@@ -10,8 +10,6 @@ import WebGLReplayGroup from '../webgl/ReplayGroup.js';
|
||||
|
||||
class WebGLImmediateRenderer extends VectorContext {
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/render/VectorContext}
|
||||
* @param {module:ol/webgl/Context} context Context.
|
||||
* @param {module:ol/coordinate~Coordinate} center Center.
|
||||
* @param {number} resolution Resolution.
|
||||
|
||||
@@ -37,8 +37,6 @@ const Instruction = {
|
||||
|
||||
class WebGLLineStringReplay extends WebGLReplay {
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/render/webgl/Replay}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
|
||||
@@ -38,8 +38,6 @@ import WebGLBuffer from '../../webgl/Buffer.js';
|
||||
|
||||
class WebGLPolygonReplay extends WebGLReplay {
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/render/webgl/Replay}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
|
||||
@@ -17,9 +17,6 @@ import {ARRAY_BUFFER, ELEMENT_ARRAY_BUFFER, TRIANGLES,
|
||||
|
||||
class WebGLReplay extends VectorContext {
|
||||
/**
|
||||
* @constructor
|
||||
* @abstract
|
||||
* @extends {module:ol/render/VectorContext}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
|
||||
@@ -34,8 +34,6 @@ const BATCH_CONSTRUCTORS = {
|
||||
|
||||
class WebGLReplayGroup extends ReplayGroup {
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/render/ReplayGroup}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @param {number=} opt_renderBuffer Render buffer.
|
||||
|
||||
@@ -24,8 +24,6 @@ import WebGLBuffer from '../../webgl/Buffer.js';
|
||||
|
||||
class WebGLTextReplay extends WebGLTextureReplay {
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {module:ol/render/webgl/TextureReplay}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
|
||||
@@ -12,9 +12,6 @@ import {createTexture} from '../../webgl/Context.js';
|
||||
|
||||
class WebGLTextureReplay extends WebGLReplay {
|
||||
/**
|
||||
* @constructor
|
||||
* @abstract
|
||||
* @extends {module:ol/render/webgl/Replay}
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
|
||||
Reference in New Issue
Block a user