Overloading fill color (polygon or text) with CanvasPattern and CanvasGradient.

This commit is contained in:
Brett Johnson
2016-01-06 09:57:40 -08:00
parent aa508acde4
commit 7f02b63ccc
8 changed files with 77 additions and 21 deletions
+5 -4
View File
@@ -6158,16 +6158,17 @@ olx.style.CircleOptions.prototype.atlasManager;
/**
* @typedef {{color: (ol.Color|string|undefined)}}
* @typedef {{color: (ol.Color|ol.ColorLike|undefined)}}
* @api
*/
olx.style.FillOptions;
/**
* 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.FillOptions.prototype.color;