Class GeometryCollectionStyleBuilder

java.lang.Object
com.massifmaps.styles.StyleBuilder
com.massifmaps.styles.GeometryCollectionStyleBuilder

public class GeometryCollectionStyleBuilder extends StyleBuilder
A builder class for GeometryCollectionStyle.
  • Constructor Details

    • GeometryCollectionStyleBuilder

      public GeometryCollectionStyleBuilder()
      Constructs a GeometryCollectionStyleBuilder object with all parameters set to defaults.
  • Method Details

    • getPointStyle

      public PointStyle getPointStyle()
      Returns the point style.
      Returns:
      The point style.
    • setPointStyle

      public void setPointStyle(PointStyle pointStyle)
      Sets the style that will be used for drawing points. The default is null style.
      Parameters:
      pointStyle - The new point style.
    • getLineStyle

      public LineStyle getLineStyle()
      Returns the line style.
      Returns:
      The line style.
    • setLineStyle

      public void setLineStyle(LineStyle lineStyle)
      Sets the style that will be used for drawing lines. The default is null style.
      Parameters:
      lineStyle - The new line style.
    • getPolygonStyle

      public PolygonStyle getPolygonStyle()
      Returns the polygon style.
      Returns:
      The polygon style.
    • setPolygonStyle

      public void setPolygonStyle(PolygonStyle polygonStyle)
      Sets the style that will be used for drawing polygons. The default is null style.
      Parameters:
      polygonStyle - The new polygon style.
    • buildStyle

      public GeometryCollectionStyle buildStyle()
      Builds a new instance of the GeometryCollectionStyle object using previously set parameters.
      Returns:
      A new GeometryCollectionStyle object.