Class PolylineStyle

java.lang.Object
io.jmix.mapsui.component.layer.style.GeometryStyle
io.jmix.mapsui.component.layer.style.PolylineStyle
Direct Known Subclasses:
PolygonStyle

public class PolylineStyle extends GeometryStyle
Class representing style parameters for a polyline.
  • Constructor Details

    • PolylineStyle

      public PolylineStyle()
  • Method Details

    • getStrokeColor

      public String getStrokeColor()
    • setStrokeColor

      public PolylineStyle setStrokeColor(String strokeColor)
      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

      public Double getStrokeOpacity()
    • setStrokeOpacity

      public PolylineStyle setStrokeOpacity(Double strokeOpacity)
      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

      public Integer getStrokeWeight()
    • setStrokeWeight

      public PolylineStyle setStrokeWeight(Integer strokeWeight)
      Sets stroke width in pixels.
      Parameters:
      strokeWeight -
      Returns:
      the instance of PolylineStyle on which this method was called. Useful for a fluent API.
    • getDashArray

      public String getDashArray()
    • setDashArray

      public PolylineStyle setDashArray(String dashArray)
      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

      public String getLineCap()
    • setLineCap

      public PolylineStyle setLineCap(String lineCap)
      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

      public String getLineJoin()
    • setLineJoin

      public PolylineStyle setLineJoin(String lineJoin)
      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.