Style docs

This commit is contained in:
Tim Schaub
2015-04-04 17:35:38 +02:00
parent 02c4c8b360
commit 50f71655e5
8 changed files with 44 additions and 3 deletions
+8 -1
View File
@@ -76,6 +76,7 @@ ol.style.Style = function(opt_options) {
/**
* Get the geometry to be rendered.
* @return {string|ol.geom.Geometry|ol.style.GeometryFunction}
* Feature property or geometry or function that returns the geometry that will
* be rendered with this style.
@@ -87,6 +88,7 @@ ol.style.Style.prototype.getGeometry = function() {
/**
* Get the function used to generate a geometry for rendering.
* @return {!ol.style.GeometryFunction} Function that is called with a feature
* and returns the geometry to render instead of the feature's geometry.
* @api
@@ -97,6 +99,7 @@ ol.style.Style.prototype.getGeometryFunction = function() {
/**
* Get the fill style.
* @return {ol.style.Fill} Fill style.
* @api
*/
@@ -106,6 +109,7 @@ ol.style.Style.prototype.getFill = function() {
/**
* Get the image style.
* @return {ol.style.Image} Image style.
* @api
*/
@@ -115,6 +119,7 @@ ol.style.Style.prototype.getImage = function() {
/**
* Get the stroke style.
* @return {ol.style.Stroke} Stroke style.
* @api
*/
@@ -124,6 +129,7 @@ ol.style.Style.prototype.getStroke = function() {
/**
* Get the text style.
* @return {ol.style.Text} Text style.
* @api
*/
@@ -133,6 +139,7 @@ ol.style.Style.prototype.getText = function() {
/**
* Get the z-index for the style.
* @return {number|undefined} ZIndex.
* @api
*/
@@ -175,7 +182,7 @@ ol.style.Style.prototype.setGeometry = function(geometry) {
/**
* Set the zIndex.
* Set the z-index.
*
* @param {number|undefined} zIndex ZIndex.
* @api