Class PolylineStyle
java.lang.Object
io.jmix.mapsui.component.layer.style.GeometryStyle
io.jmix.mapsui.component.layer.style.PolylineStyle
- Direct Known Subclasses:
PolygonStyle
Class representing style parameters for a polyline.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsetDashArray
(String dashArray) Sets the stroke dash-pattern.setLineCap
(String lineCap) Sets shape to be used at the end of the stroke.setLineJoin
(String lineJoin) Sets shape to be used at the corners of the stroke.setStrokeColor
(String strokeColor) Sets stroke color.setStrokeOpacity
(Double strokeOpacity) Sets stroke opacity.setStrokeWeight
(Integer strokeWeight) Sets stroke width in pixels.
-
Constructor Details
-
PolylineStyle
public PolylineStyle()
-
-
Method Details
-
getStrokeColor
-
setStrokeColor
Sets stroke color.- Parameters:
strokeColor
- String representation of the rgb code- Returns:
- the instance of
PolylineStyle
on which this method was called. Useful for a fluent API.
-
getStrokeOpacity
-
setStrokeOpacity
Sets stroke opacity.- Parameters:
strokeOpacity
- double value in the range between 0.0 (fully transparent) to 1.0 (fully opaque)- Returns:
- the instance of
PolylineStyle
on which this method was called. Useful for a fluent API.
-
getStrokeWeight
-
setStrokeWeight
Sets stroke width in pixels.- Parameters:
strokeWeight
-- Returns:
- the instance of
PolylineStyle
on which this method was called. Useful for a fluent API.
-
getDashArray
-
setDashArray
Sets the stroke dash-pattern.For more information about the pattern see link.
- Parameters:
dashArray
-- Returns:
- the instance of
PolylineStyle
on which this method was called. Useful for a fluent API.
-
getLineCap
-
setLineCap
Sets shape to be used at the end of the stroke.For more information about the options see link.
- Parameters:
lineCap
-- Returns:
- the instance of
PolylineStyle
on which this method was called. Useful for a fluent API.
-
getLineJoin
-
setLineJoin
Sets shape to be used at the corners of the stroke.For more information about the options see link.
- Parameters:
lineJoin
-- Returns:
- the instance of
PolylineStyle
on which this method was called. Useful for a fluent API.
-