Class LineStringStyle
java.lang.Object
io.jmix.mapsflowui.kit.component.model.style.LineStringStyle
Helper class for styling linestring
Feature
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withStroke
(Stroke stroke) Sets stroke style for feature.withZIndex
(Integer zIndex) Sets Z-index to style.
-
Field Details
-
style
-
-
Constructor Details
-
LineStringStyle
public LineStringStyle()
-
-
Method Details
-
withStroke
Sets stroke style for feature. It describes line styling: width, color, dash, etc.Delegates to
Style.setStroke(Stroke)
.- Parameters:
stroke
- stroke to set- Returns:
- current instance
-
withZIndex
Sets Z-index to style. It is used to order styles added to the feature.Delegates to
Style.setZIndex(Integer)
.- Parameters:
zIndex
- z-index to set- Returns:
- current instance
-
build
- Returns:
Style
object
-