ol/style/Stroke
Classes
- Stroke
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description colorColor | ColorLike | undefined A color, gradient or pattern. See
ColorandColorLikefor possible formats. Default null; if null, the Canvas/renderer default black will be used.lineCapCanvasLineCap
(defaults to 'round')Line cap style:
butt,round, orsquare.lineJoinCanvasLineJoin
(defaults to 'round')Line join style:
bevel,round, ormiter.lineDashArray.<number> | undefined Line dash pattern. Default is
null(no dash).lineDashOffsetnumber
(defaults to 0)Line dash offset.
miterLimitnumber
(defaults to 10)Miter limit.
offsetnumber | undefined Line offset in pixels along the normal. A positive value offsets the line to the right, relative to the direction of the line. Default is
undefined(no offset).widthnumber | undefined Width.
© 2005-present, OpenLayers Contributors All rights reserved.Licensed under the BSD 2-Clause License.
https://openlayers.org/en/latest/apidoc/module-ol_style_Stroke.html