Class PolygonStyle
java.lang.Object
io.jmix.mapsflowui.kit.component.model.style.PolygonStyle
Helper class for styling polygon 
Feature.- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Sets fill object that describes which color should be used for filling feature.withStroke(Stroke stroke) Sets stroke style for feature.withZIndex(Integer zIndex) Sets Z-index to style.
- 
Field Details- 
style
 
- 
- 
Constructor Details- 
PolygonStylepublic PolygonStyle()
 
- 
- 
Method Details- 
withStrokeSets 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
 
- 
withFillSets fill object that describes which color should be used for filling feature.Delegates to Style.setFill(Fill).- Parameters:
- fill- fill to set
- Returns:
- current instance
 
- 
withZIndexSets 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:
- Styleobject
 
 
-