Class LayerStyleUtil

java.lang.Object
com.vividsolutions.jump.workbench.model.LayerStyleUtil

public class LayerStyleUtil extends Object
Convenience functions for setting and working with Layer Styles. The convention for methods which change a layer style is that the layerChanged event is not fired. This allows further modification of the style by the caller.
  • Constructor Details

    • LayerStyleUtil

      public LayerStyleUtil()
  • Method Details

    • setLinearStyle

      public static void setLinearStyle(Layer lyr, Color lineColor, int lineWidth, int vertexSize)
      Sets the style for a linear layer.
      Parameters:
      vertexSize - 0 if vertices are not to be shown