Missing image style method descriptions

This commit is contained in:
Tim Schaub
2015-09-06 08:35:38 -06:00
parent 91f47a876c
commit 1a240ccf9d

View File

@@ -119,6 +119,8 @@ ol.style.Image.prototype.getSnapToPixel = function() {
/**
* Get the anchor point. The anchor determines the center point for the
* symbolizer. Its units are determined by `anchorXUnits` and `anchorYUnits`.
* @function
* @return {Array.<number>} Anchor.
*/
@@ -126,6 +128,7 @@ ol.style.Image.prototype.getAnchor = goog.abstractMethod;
/**
* Get the image element for the symbolizer.
* @function
* @param {number} pixelRatio Pixel ratio.
* @return {HTMLCanvasElement|HTMLVideoElement|Image} Image element.
@@ -159,6 +162,7 @@ ol.style.Image.prototype.getHitDetectionImageSize = goog.abstractMethod;
/**
* Get the origin of the symbolizer.
* @function
* @return {Array.<number>} Origin.
*/
@@ -166,6 +170,7 @@ ol.style.Image.prototype.getOrigin = goog.abstractMethod;
/**
* Get the size of the symbolizer (in pixels).
* @function
* @return {ol.Size} Size.
*/