Allow CanvasPattern or CanvasGradient as stroke style
This commit is contained in:
+5
-4
@@ -6932,7 +6932,7 @@ olx.style.RegularShapeOptions.prototype.atlasManager;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{color: (ol.Color|string|undefined),
|
||||
* @typedef {{color: (ol.Color|ol.ColorLike|undefined),
|
||||
* lineCap: (string|undefined),
|
||||
* lineJoin: (string|undefined),
|
||||
* lineDash: (Array.<number>|undefined),
|
||||
@@ -6943,9 +6943,10 @@ olx.style.StrokeOptions;
|
||||
|
||||
|
||||
/**
|
||||
* Color. See {@link ol.color} for possible formats. Default null; if null,
|
||||
* the Canvas/renderer default black will be used.
|
||||
* @type {ol.Color|string|undefined}
|
||||
* 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;
|
||||
|
||||
Reference in New Issue
Block a user