new Fill(opt_options)
style/Fill.js, line 23
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
Options.
|
Methods
-
Clones the style. The color is not cloned if it is an
module:ol/colorlike~ColorLike
.Returns:
The cloned style.
-
Get the fill color.
Returns:
Color.
-
setColor(color)
style/Fill.js, line 61 -
Set the color.
Name Type Description color
module:ol/color~Color | module:ol/colorlike~ColorLike Color.