Mark Image style constructor properties @api

This commit is contained in:
Guillaume Beraudo
2014-12-15 14:41:35 +01:00
parent 86561e5ef2
commit ae998a7585

View File

@@ -70,6 +70,7 @@ ol.style.Image = function(options) {
/** /**
* @return {number} Opacity. * @return {number} Opacity.
* @api
*/ */
ol.style.Image.prototype.getOpacity = function() { ol.style.Image.prototype.getOpacity = function() {
return this.opacity_; return this.opacity_;
@@ -78,6 +79,7 @@ ol.style.Image.prototype.getOpacity = function() {
/** /**
* @return {boolean} Rotate with map. * @return {boolean} Rotate with map.
* @api
*/ */
ol.style.Image.prototype.getRotateWithView = function() { ol.style.Image.prototype.getRotateWithView = function() {
return this.rotateWithView_; return this.rotateWithView_;
@@ -104,6 +106,7 @@ ol.style.Image.prototype.getScale = function() {
/** /**
* @return {boolean} Snap to pixel? * @return {boolean} Snap to pixel?
* @api
*/ */
ol.style.Image.prototype.getSnapToPixel = function() { ol.style.Image.prototype.getSnapToPixel = function() {
return this.snapToPixel_; return this.snapToPixel_;