Class: Fill
This documentation is for OpenLayers v
7.3.0. The
latest is v
.
-
-
Name |
Type |
Description |
color |
Color
|
ColorLike
|
null
(defaults to null)
|
A color, gradient or pattern.
See Color and ColorLike for possible formats.
Default null; if null, the Canvas/renderer default black will be used. |
Methods
-
-
Clones the style. The color is not cloned if it is an ColorLike
.
Returns:
The cloned style.
-
-
Returns:
Color.
-
-