Use @classdesc notation (continuing #2178)

This commit is contained in:
Paul Spencer
2014-06-10 09:08:43 -04:00
parent b0a1444da0
commit abe953e4e5
5 changed files with 20 additions and 0 deletions

View File

@@ -7,6 +7,9 @@ goog.require('ol.animation');
/**
* @classdesc
* Implementation of inertial deceleration for map movement.
*
* @constructor
* @param {number} decay Rate of decay (must be negative).
* @param {number} minVelocity Minimum velocity (pixels/millisecond).

View File

@@ -19,6 +19,14 @@ goog.require('ol.vec.Mat4');
/**
* @classdesc
* A concrete subclass of {@link ol.render.IVectorContext} 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
* {@link ol.render.Event} object associated with postcompose, precompose and
* render events emitted by layers and maps.
*
* @constructor
* @implements {ol.render.IVectorContext}
* @param {CanvasRenderingContext2D} context Context.

View File

@@ -23,6 +23,9 @@ ol.TileState = {
/**
* @classdesc
* Base class for tiles.
*
* @constructor
* @extends {goog.events.EventTarget}
* @param {ol.TileCoord} tileCoord Tile coordinate.

View File

@@ -17,6 +17,9 @@ ol.QuadKeyCharCode = {
/**
* @classdesc
* Represents the location of a tile in a tile grid.
*
* @constructor
* @param {number} z Zoom level.
* @param {number} x X.

View File

@@ -19,6 +19,9 @@ ol.webgl.BufferCacheEntry;
/**
* @classdesc
* A WebGL context for accessing low-level WebGL capabilities.
*
* @constructor
* @extends {goog.events.EventTarget}
* @param {HTMLCanvasElement} canvas Canvas.