Classes
Type Definitions
-
Properties:
Name Type Argument Default Description colormodule:ol/color~Color | module:ol/colorlike~ColorLike <optional>
A color, gradient or pattern. See
module:ol/color~Colorandmodule:ol/colorlike~ColorLikefor possible formats. Default null; if null, the Canvas/renderer default black will be used.lineCapstring <optional>
'round' Line cap style:
butt,round, orsquare.lineJoinstring <optional>
'round' Line join style:
bevel,round, ormiter.lineDashArray.<number> <optional>
Line dash pattern. Default is
undefined(no dash). Please note that Internet Explorer 10 and lower do not support thesetLineDashmethod on theCanvasRenderingContext2Dand therefore this option will have no visual effect in these browsers.lineDashOffsetnumber <optional>
0 Line dash offset.
miterLimitnumber <optional>
10 Miter limit.
widthnumber <optional>
Width.