Class LineStringStyle

java.lang.Object
io.jmix.mapsflowui.kit.component.model.style.LineStringStyle

public class LineStringStyle extends Object
Helper class for styling linestring Feature.
  • Field Details

    • style

      protected Style style
  • Constructor Details

    • LineStringStyle

      public LineStringStyle()
  • Method Details

    • withStroke

      public LineStringStyle withStroke(Stroke stroke)
      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

      public LineStringStyle withZIndex(Integer zIndex)
      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

      public Style build()
      Returns:
      Style object