Move olx.style.StrokeOptions to src/ol/style/Stroke
This commit is contained in:
@@ -2952,82 +2952,6 @@ olx.style.RegularShapeOptions.prototype.rotateWithView;
|
||||
olx.style.RegularShapeOptions.prototype.atlasManager;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{color: (ol.Color|ol.ColorLike|undefined),
|
||||
* lineCap: (string|undefined),
|
||||
* lineJoin: (string|undefined),
|
||||
* lineDash: (Array.<number>|undefined),
|
||||
* lineDashOffset: (number|undefined),
|
||||
* miterLimit: (number|undefined),
|
||||
* width: (number|undefined)}}
|
||||
*/
|
||||
olx.style.StrokeOptions;
|
||||
|
||||
|
||||
/**
|
||||
* 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.StrokeOptions.prototype.color;
|
||||
|
||||
|
||||
/**
|
||||
* Line cap style: `butt`, `round`, or `square`. Default is `round`.
|
||||
* @type {string|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.style.StrokeOptions.prototype.lineCap;
|
||||
|
||||
|
||||
/**
|
||||
* Line join style: `bevel`, `round`, or `miter`. Default is `round`.
|
||||
* @type {string|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.style.StrokeOptions.prototype.lineJoin;
|
||||
|
||||
|
||||
/**
|
||||
* Line dash pattern. Default is `undefined` (no dash). Please note that
|
||||
* Internet Explorer 10 and lower [do not support][mdn] the `setLineDash`
|
||||
* method on the `CanvasRenderingContext2D` and therefore this option will
|
||||
* have no visual effect in these browsers.
|
||||
*
|
||||
* [mdn]: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setLineDash#Browser_compatibility
|
||||
*
|
||||
* @type {Array.<number>|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.style.StrokeOptions.prototype.lineDash;
|
||||
|
||||
|
||||
/**
|
||||
* Line dash offset. Default is '0'.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.style.StrokeOptions.prototype.lineDashOffset;
|
||||
|
||||
|
||||
/**
|
||||
* Miter limit. Default is `10`.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.style.StrokeOptions.prototype.miterLimit;
|
||||
|
||||
|
||||
/**
|
||||
* Width.
|
||||
* @type {number|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.style.StrokeOptions.prototype.width;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{font: (string|undefined),
|
||||
* maxAngle: (number|undefined),
|
||||
|
||||
Reference in New Issue
Block a user