Remove abstract from ol.render.VectorContext functions
This commit is contained in:
committed by
Guillaume Beraudo
parent
a0d80d17e0
commit
1cb2808f7f
@@ -16,7 +16,6 @@ ol.render.VectorContext = function() {
|
||||
/**
|
||||
* Render a geometry.
|
||||
*
|
||||
* @abstract
|
||||
* @param {ol.geom.Geometry} geometry The geometry to render.
|
||||
*/
|
||||
ol.render.VectorContext.prototype.drawGeometry = function(geometry) {};
|
||||
@@ -25,14 +24,12 @@ ol.render.VectorContext.prototype.drawGeometry = function(geometry) {};
|
||||
/**
|
||||
* Set the rendering style.
|
||||
*
|
||||
* @abstract
|
||||
* @param {ol.style.Style} style The rendering style.
|
||||
*/
|
||||
ol.render.VectorContext.prototype.setStyle = function(style) {};
|
||||
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @param {ol.geom.Circle} circleGeometry Circle geometry.
|
||||
* @param {ol.Feature} feature Feature.
|
||||
*/
|
||||
@@ -40,7 +37,6 @@ ol.render.VectorContext.prototype.drawCircle = function(circleGeometry, feature)
|
||||
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @param {ol.Feature} feature Feature.
|
||||
* @param {ol.style.Style} style Style.
|
||||
*/
|
||||
@@ -48,7 +44,6 @@ ol.render.VectorContext.prototype.drawFeature = function(feature, style) {};
|
||||
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @param {ol.geom.GeometryCollection} geometryCollectionGeometry Geometry
|
||||
* collection.
|
||||
* @param {ol.Feature} feature Feature.
|
||||
@@ -57,7 +52,6 @@ ol.render.VectorContext.prototype.drawGeometryCollection = function(geometryColl
|
||||
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @param {ol.geom.LineString|ol.render.Feature} lineStringGeometry Line
|
||||
* string geometry.
|
||||
* @param {ol.Feature|ol.render.Feature} feature Feature.
|
||||
@@ -66,7 +60,6 @@ ol.render.VectorContext.prototype.drawLineString = function(lineStringGeometry,
|
||||
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @param {ol.geom.MultiLineString|ol.render.Feature} multiLineStringGeometry
|
||||
* MultiLineString geometry.
|
||||
* @param {ol.Feature|ol.render.Feature} feature Feature.
|
||||
@@ -75,7 +68,6 @@ ol.render.VectorContext.prototype.drawMultiLineString = function(multiLineString
|
||||
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @param {ol.geom.MultiPoint|ol.render.Feature} multiPointGeometry MultiPoint
|
||||
* geometry.
|
||||
* @param {ol.Feature|ol.render.Feature} feature Feature.
|
||||
@@ -84,7 +76,6 @@ ol.render.VectorContext.prototype.drawMultiPoint = function(multiPointGeometry,
|
||||
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @param {ol.geom.MultiPolygon} multiPolygonGeometry MultiPolygon geometry.
|
||||
* @param {ol.Feature|ol.render.Feature} feature Feature.
|
||||
*/
|
||||
@@ -92,7 +83,6 @@ ol.render.VectorContext.prototype.drawMultiPolygon = function(multiPolygonGeomet
|
||||
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @param {ol.geom.Point|ol.render.Feature} pointGeometry Point geometry.
|
||||
* @param {ol.Feature|ol.render.Feature} feature Feature.
|
||||
*/
|
||||
@@ -100,7 +90,6 @@ ol.render.VectorContext.prototype.drawPoint = function(pointGeometry, feature) {
|
||||
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @param {ol.geom.Polygon|ol.render.Feature} polygonGeometry Polygon
|
||||
* geometry.
|
||||
* @param {ol.Feature|ol.render.Feature} feature Feature.
|
||||
@@ -109,7 +98,6 @@ ol.render.VectorContext.prototype.drawPolygon = function(polygonGeometry, featur
|
||||
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @param {Array.<number>} flatCoordinates Flat coordinates.
|
||||
* @param {number} offset Offset.
|
||||
* @param {number} end End.
|
||||
@@ -121,7 +109,6 @@ ol.render.VectorContext.prototype.drawText = function(flatCoordinates, offset, e
|
||||
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @param {ol.style.Fill} fillStyle Fill style.
|
||||
* @param {ol.style.Stroke} strokeStyle Stroke style.
|
||||
*/
|
||||
@@ -129,14 +116,12 @@ ol.render.VectorContext.prototype.setFillStrokeStyle = function(fillStyle, strok
|
||||
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @param {ol.style.Image} imageStyle Image style.
|
||||
*/
|
||||
ol.render.VectorContext.prototype.setImageStyle = function(imageStyle) {};
|
||||
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
* @param {ol.style.Text} textStyle Text style.
|
||||
*/
|
||||
ol.render.VectorContext.prototype.setTextStyle = function(textStyle) {};
|
||||
|
||||
Reference in New Issue
Block a user