Class PointStyle
java.lang.Object
io.jmix.mapsflowui.kit.component.model.style.PointStyle
- Direct Known Subclasses:
MarkerStyle
Helper class for styling point
Feature
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withImage
(ImageStyle image) Sets the image style.Sets text style for feature.withZIndex
(Integer zIndex) Sets Z-index to style.
-
Field Details
-
style
-
-
Constructor Details
-
PointStyle
public PointStyle()
-
-
Method Details
-
withText
Sets text style for feature. Text style describes how to display text.Delegates to
Style.setText(TextStyle)
.- Parameters:
textStyle
- text style to set- Returns:
- current instance
-
withImage
Sets the image style. The image can contain an icon or can be an instance ofRegularShape
class.Delegates to
Style.setImage(ImageStyle)
.- Parameters:
image
- image style 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
-