new ol.style.Stroke(opt_options) experimental
Name | Type | Description | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Options.
|
Extends
Methods
-
getColor(){ol.Color|string} experimental
-
Returns:
Color.
-
getLineCap(){string|undefined} experimental
-
Returns:
Line cap.
-
getLineDash(){Array.<number>} experimental
-
Returns:
Line dash.
-
getLineJoin(){string|undefined} experimental
-
Returns:
Line join.
-
getMiterLimit(){number|undefined} experimental
-
Returns:
Miter limit.
-
getWidth(){number|undefined} experimental
-
Returns:
Width.
-
setColor(color) experimental
-
Set the color.
Name Type Description color
ol.Color | string Color.
-
setLineCap(lineCap) experimental
-
Set the line cap.
Name Type Description lineCap
string | undefined Line cap.
-
setLineDash(lineDash) experimental
-
Set the line dash.
Name Type Description lineDash
Array.<number> Line dash.
-
setLineJoin(lineJoin) experimental
-
Set the line join.
Name Type Description lineJoin
string | undefined Line join.
-
setMiterLimit(miterLimit) experimental
-
Set the miter limit.
Name Type Description miterLimit
number | undefined Miter limit.
-
setWidth(width) experimental
-
Set the width.
Name Type Description width
number | undefined Width.