Move olx.style.FillOptions to src/ol/style/Fill
This commit is contained in:
@@ -2655,22 +2655,6 @@ olx.style.CircleOptions.prototype.stroke;
|
||||
olx.style.CircleOptions.prototype.atlasManager;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{color: (ol.Color|ol.ColorLike|undefined)}}
|
||||
*/
|
||||
olx.style.FillOptions;
|
||||
|
||||
|
||||
/**
|
||||
* A color, gradient or pattern. See {@link ol.color}
|
||||
* and {@link ol.colorlike} for possible formats. Default null;
|
||||
* if null, the Canvas/renderer default black will be used.
|
||||
* @type {ol.Color|ol.ColorLike|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.style.FillOptions.prototype.color;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{anchor: (Array.<number>|undefined),
|
||||
* anchorOrigin: (module:ol/style/IconOrigin~IconOrigin|undefined),
|
||||
|
||||
@@ -4,12 +4,21 @@
|
||||
import {getUid} from '../index.js';
|
||||
import {asString} from '../color.js';
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {Object} Options
|
||||
* @property {module:ol/color~Color|module:ol/colorlike~ColorLike} [color] A color, gradient or pattern.
|
||||
* See {@link module:ol/color~Color} and {@link module:ol/colorlike~ColorLike} for possible formats.
|
||||
* Default null; if null, the Canvas/renderer default black will be used.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* Set fill style for vector features.
|
||||
*
|
||||
* @constructor
|
||||
* @param {olx.style.FillOptions=} opt_options Options.
|
||||
* @param {module:ol/style/Fill~Options=} opt_options Options.
|
||||
* @api
|
||||
*/
|
||||
const Fill = function(opt_options) {
|
||||
|
||||
Reference in New Issue
Block a user