new ol.style.Fill(opt_options) experimental
src/ol/style/fill.js, line 15
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
Options.
|
Methods
-
getColor(){ol.Color|ol.ColorLike} experimental
src/ol/style/fill.js, line 38 -
Get the fill color.
Returns:
Color.
-
setColor(color) experimental
src/ol/style/fill.js, line 49 -
Set the color.
Name Type Description color
ol.Color | ol.ColorLike Color.