ol/style/Fill
Classes
- Fill
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description colorColor | ColorLike | PatternDescriptor | null
(defaults to null)A color, gradient or pattern. See
ColorandColorLikefor possible formats. For polygon fills (not forRegularShapefills), a pattern can also be provided asPatternDescriptor. Default null; if null, the Canvas/renderer default black will be used.
© 2005-present, OpenLayers Contributors All rights reserved.Licensed under the BSD 2-Clause License.
https://openlayers.org/en/latest/apidoc/module-ol_style_Fill.html